diff --git a/powerwall.sh b/powerwall.sh index 8fb97d05..62438467 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -1186,7 +1186,7 @@ SERVICE_MNG(){ sa="${idsCL[Yellow]}Status for" fi 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 + 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]}" diff --git a/run.sh b/run.sh index 7e44bbe0..23520747 100755 --- a/run.sh +++ b/run.sh @@ -48,7 +48,7 @@ if [ "${1}" == "update" ]; then read -n 1 -p "Do you want to restart PowerWall Services? (y/N): " choice case "$choice" in [Yy]) - echo -e "\n\n${idsCL[Yellow]}Restarting Powerwall services to apply update ${idsCL[White]}" + echo -e "\n\n${idsCL[Yellow]}Restarting Powerwall services to apply update ..." ${PW_SCRIPT} service all restart ;; *) echo;;