From e03ac5b0e8e4948c814d1eda307783afb26147c6 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 28 Jan 2024 20:43:57 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/powerwall.sh b/powerwall.sh index 1a7900fc..0dea827c 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -888,14 +888,14 @@ fi fi elif [ "${3}" == "restart" ]; then - echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - '${PW_POWERWALL_SERVICES[${2}]}' Service Restarted" >> ${PW_LOGFILE} - echo - SERVICE_MNG ${2} stop - echo -en "${idsCL[Yellow]}Pausing${idsCL[Default]}" - sleep 6s - echo -en "\033[2K\r" - DIVIDER . yellow 50 - SERVICE_MNG ${2} start + # echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - '${PW_POWERWALL_SERVICES[${2}]}' Service Restarted" >> ${PW_LOGFILE} + # echo + # SERVICE_MNG ${2} stop + # echo -en "${idsCL[Yellow]}Pausing${idsCL[Default]}" + # sleep 6s + # echo -en "\033[2K\r" + # DIVIDER . yellow 50 + # SERVICE_MNG ${2} start echo elif [ "${3}" == "status" ]; then