Update powerwall.sh
This commit is contained in:
1 parent
e1c514e831
commit
1c9e842b4b
1 file changed
+1
-1
+1
-1
@@ -351,7 +351,7 @@ STOP_SERVICE(){
|
|||||||
|
|
||||||
CHECK_SERVICES(){
|
CHECK_SERVICES(){
|
||||||
for srvc in "${POWERWALL_SERVICES[@]}"; do
|
for srvc in "${POWERWALL_SERVICES[@]}"; do
|
||||||
echo -en "${POWERWALL_SERVICES[${srvc}]} ... "
|
echo -en "${srvc} - ${POWERWALL_SERVICES[${srvc}]} ... "
|
||||||
[ "$(systemctl is-active ${POWERWALL_SERVICES[${srvc}]})" == "active" ] && echo "Running" || echo "Not Running"
|
[ "$(systemctl is-active ${POWERWALL_SERVICES[${srvc}]})" == "active" ] && echo "Running" || echo "Not Running"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user