Update powerwall.sh

This commit is contained in:
2023-12-13 18:44:58 -06:00
parent 77a012d828
commit 29c5cc9030

View File

@@ -1171,7 +1171,6 @@ STARTALL_SERVICES(){
done done
} }
SERVICE_MNG(){ SERVICE_MNG(){
echo "HERE: ${PW_POWERWALL_SERVICES[${1}]}"
if [ "${2}" = "start" ]; then if [ "${2}" = "start" ]; then
sa=Starting sa=Starting
@@ -1186,7 +1185,7 @@ SERVICE_MNG(){
fi fi
echo -en "${idsCL[LightCyan]}${sa} ${PW_POWERWALL_SERVICES[${1}]} Service ... " echo -en "${idsCL[LightCyan]}${sa} ${PW_POWERWALL_SERVICES[${1}]} Service ... "
# /bin/systemctl ${2} ${PW_POWERWALL_SERVICES[${1}]} /bin/systemctl ${2} ${PW_POWERWALL_SERVICES[${1}]}
echo -e "${idsCL[Green]}Done${idsCL[Default]}" echo -e "${idsCL[Green]}Done${idsCL[Default]}"
} }
STOP_SERVICE(){ STOP_SERVICE(){