Update mm-scripts.sh
This commit is contained in:
@@ -45,8 +45,9 @@ cw_spc=40
|
||||
|
||||
|
||||
MMSTART(){
|
||||
echo "HERE: ${action} - ${1} - ${2}"
|
||||
[ $VERBOSE = true ] && chktmstart=`date +%s`
|
||||
([ "${1}" == "start" ] || [ "${1}" == "check" ]) && touch ${MMFOLDER}/mm.stop.checking
|
||||
[ "${2}" == "vpn" ] && touch ${MMFOLDER}/mm.noservices
|
||||
if [ "${1}" = "start" ] || [ "${1}" = "restart" ] || [ "${1}" = "" ]; then
|
||||
GOFORSTART=true;
|
||||
|
||||
@@ -1331,8 +1332,7 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
[ "${action}" != "status" ] && touch ${MMFOLDER}/mm.stop.checking
|
||||
[ "${2}" == "vpn" ] && touch ${MMFOLDER}/mm.noservices
|
||||
|
||||
[ ! -f ${MMFOLDER}/mm.stop ] && MMSTART ${action} ${2}
|
||||
[ "${action}" != "status" ] && rm -f ${MMFOLDER}/mm.stop.checking
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user