From ba42e2665256e4776a036648272d7d8987ceff1f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 3 Nov 2023 19:26:55 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/powerwall.sh b/powerwall.sh index 57a219a7..eabcfa03 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -1455,7 +1455,7 @@ fi elif [ "${3}" = "status" ]; then srvc=${PW_POWERWALL_SERVICES[${2}]} c=0; spc=''; spc1=`expr 25 - ${#srvc}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done - echo -en "${idsCL[LightCyan]}${srvc}${spc}: " + echo -e "${idsCL[LightCyan]}${srvc}${spc}: " [ "$(systemctl is-active ${srvc})" == "active" ] && echo -en "${idsCL[Green]}Running" || echo -en "${idsCL[Yellow]}Not Running" echo -e "${idsCL[Default]}" echo @@ -1465,7 +1465,7 @@ fi logrotate) LOGROTATE;; update) - echo -e "${idsCL[LightCyan]}Will reboot monitoring services in the background to apply updates ..." + echo -en "${idsCL[LightCyan]}Will reboot monitoring services in the background to apply updates ..." RESTARTALL_SERVICES >/dev/null 2>&1 & echo -e "${idsCL[Green]}Done${idsCL[Default]}\n" ;;