Update mm-scripts.sh
This commit is contained in:
@@ -19,7 +19,6 @@ if [ "${2}" == "q" ]; then
|
|||||||
idsCL=('')
|
idsCL=('')
|
||||||
idsBG=('')
|
idsBG=('')
|
||||||
idsST=('')
|
idsST=('')
|
||||||
echo -e "\n\n$(date) - Starting log #############################\n" >> $logfile
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -f ${MMFOLDER}/vpninfo ] && source ${MMFOLDER}/vpninfo
|
[ -f ${MMFOLDER}/vpninfo ] && source ${MMFOLDER}/vpninfo
|
||||||
@@ -1180,6 +1179,7 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
[ "${2}" == "q" ] && [ "${action}" == "check" ] && echo -e "\n\n$(date) - Starting log #############################\n" >> ${outputlogfile}
|
||||||
[ "${action}" != "status" ] && touch ${MMFOLDER}/mm.stop.checking
|
[ "${action}" != "status" ] && touch ${MMFOLDER}/mm.stop.checking
|
||||||
[ "${2}" == "vpn" ] && touch ${MMFOLDER}/mm.noservices
|
[ "${2}" == "vpn" ] && touch ${MMFOLDER}/mm.noservices
|
||||||
[ ! -f ${MMFOLDER}/mm.stop ] && MMSTART ${action} ${2}
|
[ ! -f ${MMFOLDER}/mm.stop ] && MMSTART ${action} ${2}
|
||||||
|
|||||||
Reference in New Issue
Block a user