Update powerwall.sh

This commit is contained in:
2022-09-30 22:23:28 -05:00
parent e35764d9e6
commit a161e161a8

View File

@@ -205,7 +205,7 @@ POWERLOGGER_SERVICE(){
done
}
UPDATE_SERVICES(){
RESTART_SERVICES(){
for srvc in "${POWERWALL_SERVICES[@]}"; do
/bin/systemctl stop $srvc
done
@@ -270,7 +270,7 @@ if [ ${action-x} ]; then
case $action in
stopall) STOPALL_SERVICES;;
startall) STARTALL_SERVICES;;
updateservices) UPDATE_SERVICES;;
restartall) RESTART_SERVICES;;
checktemp) CHECKTEMP ${2};;
checktemp_service)
if [ "${2}" = "stop" ]; then