Update powerwall.sh

This commit is contained in:
2023-12-13 19:12:18 -06:00
parent ec195c8fd2
commit 2d2418e6d6

View File

@@ -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]}"