Update powerwall.sh
This commit is contained in:
@@ -205,7 +205,7 @@ POWERLOGGER_SERVICE(){
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
UPDATE_SERVICES(){
|
RESTART_SERVICES(){
|
||||||
for srvc in "${POWERWALL_SERVICES[@]}"; do
|
for srvc in "${POWERWALL_SERVICES[@]}"; do
|
||||||
/bin/systemctl stop $srvc
|
/bin/systemctl stop $srvc
|
||||||
done
|
done
|
||||||
@@ -270,7 +270,7 @@ if [ ${action-x} ]; then
|
|||||||
case $action in
|
case $action in
|
||||||
stopall) STOPALL_SERVICES;;
|
stopall) STOPALL_SERVICES;;
|
||||||
startall) STARTALL_SERVICES;;
|
startall) STARTALL_SERVICES;;
|
||||||
updateservices) UPDATE_SERVICES;;
|
restartall) RESTART_SERVICES;;
|
||||||
checktemp) CHECKTEMP ${2};;
|
checktemp) CHECKTEMP ${2};;
|
||||||
checktemp_service)
|
checktemp_service)
|
||||||
if [ "${2}" = "stop" ]; then
|
if [ "${2}" = "stop" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user