Update powerwall.sh

This commit is contained in:
2023-05-15 21:30:33 -05:00
parent e1c514e831
commit 1c9e842b4b

View File

@@ -351,7 +351,7 @@ STOP_SERVICE(){
CHECK_SERVICES(){
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"
done
}