Update powerwall.sh
This commit is contained in:
@@ -887,6 +887,11 @@ fi
|
||||
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}" == "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
|
||||
STOP_SERVICE powerlogger
|
||||
echo "(`date +'%Y-%m-%d %H:%M:%S'`) Service Stopped" >> ${PW_LOGPOWER}
|
||||
|
||||
Reference in New Issue
Block a user