Update mm-scripts.sh

This commit is contained in:
2025-02-22 21:07:26 -06:00
parent bac8722b97
commit f188737702

View File

@@ -738,7 +738,7 @@ MMSTATUS(){
echo -e "${idsCL[Green]}Good${idsCL[Default]}"
else
echo -e "${idsCL[Red]}Not Routing${idsCL[Default]}"
if ([ ! -f ${TMPFOLDER}/mm.stop* ] && [ "${1}" == "fix" ]) || ([ ! -f ${TMPFOLDER}/mm.stop ] && [ -f ${TMPFOLDER}/mm.stop.checking ] && [ "${1}" == "fix" ]); then
if ([ ! -f ${TMPFOLDER}/mm.stop* ] && ([ "${1}" == "fix" ] || [ "${1}" == "q" ])) || ([ ! -f ${TMPFOLDER}/mm.stop ] && [ -f ${TMPFOLDER}/mm.stop.checking ] && ([ "${1}" == "fix" ] || [ "${1}" == "q" ])); then
echo
echo -e "${idsCL[LightCyan]}Restarting system...${idsCL[Default]}"
([ -f ${TMPFOLDER}/mm.noservices ] || [ -f ${MMFOLDER}/mm.noservices ]) && rv="vpn" || rv=""