Update powerwall.sh
This commit is contained in:
@@ -351,8 +351,8 @@ STOP_SERVICE(){
|
||||
|
||||
CHECK_SERVICES(){
|
||||
for srvc in "${POWERWALL_SERVICES[@]}"; do
|
||||
echo -en "${srvc} - ${POWERWALL_SERVICES[${srvc}]} ... "
|
||||
[ "$(systemctl is-active ${POWERWALL_SERVICES[${srvc}]})" == "active" ] && echo "Running" || echo "Not Running"
|
||||
echo -en "${srvc} ... "
|
||||
[ "$(systemctl is-active ${srvc})" == "active" ] && echo "Running" || echo "Not Running"
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user