Update powerwall.sh

This commit is contained in:
2023-12-13 19:15:21 -06:00
parent 3247ad80c9
commit c99bbd5b5d

View File

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