From 5eb0bb3125583607fe3837c7247d44791f2256f4 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 8 Jan 2024 23:07:35 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/powerwall.sh b/powerwall.sh index 9a4e6111..41b4ff5d 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -728,9 +728,9 @@ TEST(){ if [[ "${1}" != *"_service" ]] && [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [[ "${noheader}" != *" ${3} "* ]] && [[ "${noheader}" != *" ${4} "* ]] && [[ "${noheader}" != *" ${5} "* ]]; then echo DIVIDER . lightGreen 75 - msg="|| PowerWall Management ${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})" - c=0; spc=''; spc1=`expr 85 - ${#msg}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done - echo -e "${idsCL[LightGreen]}${msg}${spc}${idsCL[LightGreen]}||${idsCL[Default]}" + msg="|| PowerWall Management ${idsCL[Default]}" + c=0; spc=''; spc1=`expr 71 - ${#msg}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done + echo -e "${idsCL[LightGreen]}${msg}${spc}${idsCL[DarkGray]}(ver-${VERS})${idsCL[LightGreen]}||${idsCL[Default]}" DIVIDER . lightGreen 75 fi # if [ ${PW_ACTION-x} ]; then