Update powerwall.sh

This commit is contained in:
2024-01-28 20:43:57 -06:00
parent 991d372fe0
commit e03ac5b0e8

View File

@@ -888,14 +888,14 @@ fi
fi fi
elif [ "${3}" == "restart" ]; then elif [ "${3}" == "restart" ]; then
echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - '${PW_POWERWALL_SERVICES[${2}]}' Service Restarted" >> ${PW_LOGFILE} # echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - '${PW_POWERWALL_SERVICES[${2}]}' Service Restarted" >> ${PW_LOGFILE}
echo # 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 echo
elif [ "${3}" == "status" ]; then elif [ "${3}" == "status" ]; then