Update powerwall.sh
This commit is contained in:
1 parent
f4d49f5634
commit
deb1f5e071
1 file changed
+5
@@ -887,6 +887,11 @@ fi
|
|||||||
echo "(`date +'%Y-%m-%d %H:%M:%S'`) Service Stopped" >> ${PW_LOGPOWER}
|
echo "(`date +'%Y-%m-%d %H:%M:%S'`) Service Stopped" >> ${PW_LOGPOWER}
|
||||||
echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - '${PW_POWERWALL_SERVICES[power]}' Service Stopped" >> ${PW_LOGFILE}
|
echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - '${PW_POWERWALL_SERVICES[power]}' Service Stopped" >> ${PW_LOGFILE}
|
||||||
|
|
||||||
|
elif [ "${2}" == "offsitepower" ]; then
|
||||||
|
STOP_SERVICE offsitepower
|
||||||
|
echo "(`date +'%Y-%m-%d %H:%M:%S'`) Service Stopped" >> ${PW_LOGPOWER}
|
||||||
|
echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - '${PW_POWERWALL_SERVICES[power]}' Service Stopped" >> ${PW_LOGFILE}
|
||||||
|
|
||||||
elif [ "${2}" == "powerlogger" ]; then
|
elif [ "${2}" == "powerlogger" ]; then
|
||||||
STOP_SERVICE powerlogger
|
STOP_SERVICE powerlogger
|
||||||
echo "(`date +'%Y-%m-%d %H:%M:%S'`) Service Stopped" >> ${PW_LOGPOWER}
|
echo "(`date +'%Y-%m-%d %H:%M:%S'`) Service Stopped" >> ${PW_LOGPOWER}
|
||||||
|
|||||||
Reference in new issue
Block a user