Update mm-scripts.sh

This commit is contained in:
2023-04-22 18:27:38 -05:00
parent d3e00ff9e9
commit a28fc4fefa

View File

@@ -19,7 +19,6 @@ if [ "${2}" == "q" ]; then
idsCL=('')
idsBG=('')
idsST=('')
echo -e "\n\n$(date) - Starting log #############################\n" >> $logfile
fi
[ -f ${MMFOLDER}/vpninfo ] && source ${MMFOLDER}/vpninfo
@@ -1180,6 +1179,7 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
exit 1
fi
fi
[ "${2}" == "q" ] && [ "${action}" == "check" ] && echo -e "\n\n$(date) - Starting log #############################\n" >> ${outputlogfile}
[ "${action}" != "status" ] && touch ${MMFOLDER}/mm.stop.checking
[ "${2}" == "vpn" ] && touch ${MMFOLDER}/mm.noservices
[ ! -f ${MMFOLDER}/mm.stop ] && MMSTART ${action} ${2}