Update powerwall.sh
This commit is contained in:
@@ -2424,12 +2424,14 @@ fi
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
elif [ "${3}" == "restart" ]; then
|
elif [ "${3}" == "restart" ]; then
|
||||||
|
echo
|
||||||
SERVICE_MNG ${2} stop
|
SERVICE_MNG ${2} stop
|
||||||
echo -en "${idsCL[Yellow]}Pausing${idsCL[Default]}"
|
echo -en "${idsCL[Yellow]}Pausing${idsCL[Default]}"
|
||||||
sleep 6s
|
sleep 6s
|
||||||
echo -en "\033[2K\r"
|
echo -en "\033[2K\r"
|
||||||
DIVIDER . yellow 50
|
DIVIDER . yellow 50
|
||||||
SERVICE_MNG ${2} start
|
SERVICE_MNG ${2} start
|
||||||
|
echo
|
||||||
|
|
||||||
elif [ "${3}" == "status" ]; then
|
elif [ "${3}" == "status" ]; then
|
||||||
srvc=${PW_POWERWALL_SERVICES[${2}]}
|
srvc=${PW_POWERWALL_SERVICES[${2}]}
|
||||||
|
|||||||
Reference in New Issue
Block a user