From c99bbd5b5d14576bcc5ae62cef45728eedd3ee6d Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 13 Dec 2023 19:15:21 -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 d2d81a76..8fb97d05 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -1185,7 +1185,7 @@ SERVICE_MNG(){ elif [ "${2}" == "status" ]; then sa="${idsCL[Yellow]}Status for" fi - MSG="${sa}${idsCL[Default]} ${idsCL[LightCyan]}${PW_POWERWALL_SERVICES[${1}]} ${idsCL[White]}Service" + MSG="${sa} Service - ${idsCL[LightCyan]}${PW_POWERWALL_SERVICES[${1}]}" c=0; spc=''; spc1=`expr 63 - ${#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}]}