Update powerwall.sh

This commit is contained in:
2024-01-08 23:09:04 -06:00
parent 5eb0bb3125
commit b73e41dfef

View File

@@ -729,7 +729,7 @@ if [[ "${1}" != *"_service" ]] && [[ "${noheader}" != *" ${1} "* ]] && [[ "${noh
echo
DIVIDER . lightGreen 75
msg="|| PowerWall Management ${idsCL[Default]}"
c=0; spc=''; spc1=`expr 71 - ${#msg}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
c=0; spc=''; spc1=`expr 71 - ${#msg} - ${#VERS}`; 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