update
This commit is contained in:
5
run.sh
5
run.sh
@@ -89,12 +89,13 @@ if [ -f ${TMPFOLDER}/mm.stop.checking ]; then
|
||||
rm -f ${TMPFOLDER}/mm.stop*
|
||||
elif [ "${1}" = "check" ] && [ "$(ip link | grep "${VPN_INTERFACE}")" = "" ] && [ ! -f ${TMPFOLDER}/mm.vpn* ] && [ $(uptime_minutes) -lt 3 ]; then
|
||||
rm -f ${TMPFOLDER}/mm.stop*
|
||||
else
|
||||
|
||||
elif [ "${1}" != "status" ] && [ "${1}" != "update-service" ] && [ "${1}" != "update-allservices" ] && [ "${1}" != "stop" ] && [ "${1}" != "" ]
|
||||
echo -e "${idsCL[LightCyan]}Try again later, 'mm' program currently in use...${idsCL[Default]}"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -f ${TMPFOLDER}/mm.stop.checking ] || [ "${1}" == "status" ] || [ "${1}" == "update-service" ] || [ "${1}" == "update-allservices" ] || [ "${1}" == "stop" ]; then
|
||||
if [ ! -f ${TMPFOLDER}/mm.stop.checking ] || [ "${1}" == "status" ] || [ "${1}" == "update-service" ] || [ "${1}" == "update-allservices" ] || [ "${1}" == "stop" ] || [ "${1}" == "" ]; then
|
||||
[ "${1}" == "start" ] && rm -f ${TMPFOLDER}/mm.stop
|
||||
${MMFOLDER}/mm-scripts.sh ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user