Update powerwall.sh
This commit is contained in:
@@ -1184,7 +1184,9 @@ SERVICE_MNG(){
|
|||||||
sa='Status for'
|
sa='Status for'
|
||||||
|
|
||||||
fi
|
fi
|
||||||
echo -en "${idsCL[LightCyan]}${sa} ${PW_POWERWALL_SERVICES[${1}]} Service ... "
|
MSG="${sa} ${PW_POWERWALL_SERVICES[${1}]} Service"
|
||||||
|
c=0; spc=''; spc1=`expr 40 - ${#MSG}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
||||||
|
echo -en "${idsCL[LightCyan]}${MSG}${spc}: "
|
||||||
# /bin/systemctl ${2} ${PW_POWERWALL_SERVICES[${1}]}
|
# /bin/systemctl ${2} ${PW_POWERWALL_SERVICES[${1}]}
|
||||||
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user