Update run.sh
This commit is contained in:
3
run.sh
3
run.sh
@@ -49,9 +49,8 @@ if [ "${1}" == "update" ]; then
|
||||
read -n 1 -p "Do you want to restart PowerWall Services? (y/N): " choice
|
||||
case "$choice" in
|
||||
[Yy])
|
||||
echo -en "\n${idsCL[Yellow]}Restarting Powerwall services to apply update ${idsCL[White]} ... "
|
||||
echo -e "\n${idsCL[Yellow]}Restarting Powerwall services to apply update ${idsCL[White]} ... "
|
||||
/opt/idssys/powerwall/powerwall.sh service all restart >/dev/null 2>&1
|
||||
echo -e "${idsCL[Green]}Done${idsCL[Default]}\n" ;;
|
||||
*) echo;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user