update
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user