Update powerwall.sh

This commit is contained in:
voltron committed 2022-09-30 23:07:23 -05:00
1 parent 2ba85c0f9b
commit bcf2fae659
1 file changed
+2 -6
+2 -6
View File
@@ -224,13 +224,9 @@ POWERLOGGER_SERVICE(){
}
RESTART_SERVICES(){
for srvc in "${POWERWALL_SERVICES[@]}"; do
/bin/systemctl stop $srvc
done
STOPALL_SERVICES
sleep 5s
for srvc in "${POWERWALL_SERVICES[@]}"; do
/bin/systemctl start $srvc
done
STARTALL_SERVICES
}
STOPALL_SERVICES(){
for srvc in "${POWERWALL_SERVICES[@]}"; do