This commit is contained in:
2025-06-19 19:44:58 -05:00
parent 6f6ec99d0f
commit 5a708ac758
2 changed files with 3 additions and 3 deletions

4
run.sh
View File

@@ -63,10 +63,10 @@ if [ "${1}" == "update" ]; then
fi
elif [ "${2}" == "y" ]; then
${PW_SCRIPT} service all restart
([ -f ${NM_TMPFOLDER}/.singleserver.PW.primary ] || [ -f ${NM_TMPFOLDER}/.singleserver.PWO.primary ]) && ${PW_SCRIPT} service all restart
elif [ "${2}" == "q" ]; then
${PW_SCRIPT} service all restart >/dev/null 2>&1
([ -f ${NM_TMPFOLDER}/.singleserver.PW.primary ] || [ -f ${NM_TMPFOLDER}/.singleserver.PWO.primary ]) && ${PW_SCRIPT} service all restart >/dev/null 2>&1
fi
elif [ "${2}" != "q" ]; then