Update run.sh
This commit is contained in:
2
run.sh
2
run.sh
@@ -48,7 +48,7 @@ if [ "${1}" == "update" ]; then
|
|||||||
echo -en "\e[1A";
|
echo -en "\e[1A";
|
||||||
echo -e "\e[0K\r ${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}"
|
echo -e "\e[0K\r ${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
if [ ! -f ${NM_TMPFOLDER}/.singleserver.PW.secondary ] && [ ! -f ${NM_TMPFOLDER}/.singleserver.PWO.secondary ]; then
|
if [ -f ${NM_TMPFOLDER}/.singleserver.PW.primary ] || [ -f ${NM_TMPFOLDER}/.singleserver.PWO.primary ]; then
|
||||||
echo -en "${idsCL[LightCyan]}Do you want to restart PowerWall Services as well? (y/N): "
|
echo -en "${idsCL[LightCyan]}Do you want to restart PowerWall Services as well? (y/N): "
|
||||||
read -n 1 choice
|
read -n 1 choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
|
|||||||
Reference in New Issue
Block a user