Update run.sh
This commit is contained in:
1
run.sh
1
run.sh
@@ -48,6 +48,7 @@ if [ "${1}" == "update" ]; then
|
|||||||
fi
|
fi
|
||||||
echo -en "${idsCL[Yellow]}Restarting Powerwall services to apply update ${idsCL[White]} ... "
|
echo -en "${idsCL[Yellow]}Restarting Powerwall services to apply update ${idsCL[White]} ... "
|
||||||
/opt/idssys/powerwall/powerwall.sh service all restart >/dev/null 2>&1
|
/opt/idssys/powerwall/powerwall.sh service all restart >/dev/null 2>&1
|
||||||
|
echo -e "${idsCL[Green]}Done${idsCL[Default]}\n"
|
||||||
|
|
||||||
elif [ "${2}" != "q" ]; then
|
elif [ "${2}" != "q" ]; then
|
||||||
echo -en "\e[1A";
|
echo -en "\e[1A";
|
||||||
|
|||||||
Reference in New Issue
Block a user