From 67e8f39975bf796795d91d1c52c76d8b1483ea62 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 8 Jan 2024 23:11:52 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/powerwall.sh b/powerwall.sh index fb61ec8c..a2bffce5 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -729,8 +729,8 @@ if [[ "${1}" != *"_service" ]] && [[ "${noheader}" != *" ${1} "* ]] && [[ "${noh echo DIVIDER . lightGreen 75 msg="|| PowerWall Management ${idsCL[Default]}" - c=0; spc=''; spc1=`expr 73 - ${#msg} - ${#VERS}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done - echo -e "${idsCL[LightGreen]}${msg}${spc}${idsCL[LightGray]}(v${VERS})${idsCL[LightGreen]}||${idsCL[Default]}" + c=0; spc=''; spc1=`expr 77 - ${#msg} - ${#VERS}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done + echo -e "${idsCL[LightGreen]}${msg}${spc}${idsCL[LightGray]}v${VERS} ${idsCL[LightGreen]}||${idsCL[Default]}" DIVIDER . lightGreen 75 fi # if [ ${PW_ACTION-x} ]; then