This commit is contained in:
2023-05-15 22:49:42 -05:00
parent 4f9d6e9b26
commit 1792618892
2 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
VERS='2.143-05152023'
noheader=' update '
noheader=' update service '
mqtt_conn='/usr/bin/mosquitto_sub -h 127.0.0.1 -u mqtt -P 12mqtt34password56'
# mqtt_conn='/usr/bin/mosquitto_sub -h 127.0.0.1 -u emonpi -P emonpimqtt'

View File

@@ -593,9 +593,9 @@ fi
fi
else
if [ "${3}" = "start" ] || [ "${3}" = "" ]; then
[ "${2}" = "temp" ] CHECKTEMP_SERVICE
[ "${2}" = "power" ] CHECKPOWER_SERVICE
[ "${2}" = "powerlogger" ] CHECKTEMP_SERVICE
[ "${2}" = "temp" ] && CHECKTEMP_SERVICE
[ "${2}" = "power" ] && CHECKPOWER_SERVICE
[ "${2}" = "powerlogger" ] && CHECKTEMP_SERVICE
elif [ "${3}" = "stop" ]; then
if [ "${2}" = "temp" ]; then