Update mm-scripts.sh

This commit is contained in:
2023-04-26 22:04:15 -05:00
parent 6c9174ec9e
commit fbc3a6ba84

View File

@@ -157,10 +157,14 @@ MMSTART(){
echo -en "${idsCL[LightCyan]}24hr session limit reached, restarting vpn & services .${idsCL[Default]}" echo -en "${idsCL[LightCyan]}24hr session limit reached, restarting vpn & services .${idsCL[Default]}"
MMSTOP >/dev/null 2>&1 MMSTOP >/dev/null 2>&1
echo -en "." echo -en "."
read -et 30 read -et 10
echo -en ". " echo -en "."
read -et 10
echo -en "."
read -et 10
echo -en "."
MMSTART start >/dev/null 2>&1 MMSTART start >/dev/null 2>&1
echo -e "${idsCL[Green]}Done${idsCL[Default]}" echo -e " ${idsCL[Green]}Done${idsCL[Default]}"
fi fi
zerogw=$(/sbin/ip route show | grep 0.0.0.0 | cut -d' ' -f 3) zerogw=$(/sbin/ip route show | grep 0.0.0.0 | cut -d' ' -f 3)