Update powerwall.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user