From 2d2418e6d6a7ecb8c07310cff2dfd9eb1f3f6d71 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 13 Dec 2023 19:12:18 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerwall.sh b/powerwall.sh index 4c0006f9..4819cd1f 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -1185,7 +1185,7 @@ SERVICE_MNG(){ sa="${idsCL[Yellow]}Status for" fi MSG="${sa}${idsCL[Default]} ${PW_POWERWALL_SERVICES[${1}]} Service" - c=0; spc=''; spc1=`expr 39 - ${#MSG}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done + c=0; spc=''; spc1=`expr 50 - ${#MSG}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done echo -en "${idsCL[LightCyan]}${MSG}${spc}${idsCL[Default]}: " # /bin/systemctl ${2} ${PW_POWERWALL_SERVICES[${1}]} echo -e "${idsCL[Green]}Done${idsCL[Default]}"