From 5553e1585790da78d2324f3c114a7aa4d01489ae Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 18 Jun 2022 08:45:00 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index c41edcc..be96661 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -53,7 +53,7 @@ MMSTART(){ MMSTOP sleep 5m "${VPN_START[@]}" & - sleep 1m + sleep 30s rm -f /opt/mm.stop exit 1 elif [ -f /opt/mm.vpn.fail2 ]; then @@ -67,9 +67,9 @@ MMSTART(){ [ $SENDNOTICE = true ] && echo "1st Failure, will try and restart the VPN" | mail -s "VPN Failure" 9208839613@mms.att.net touch /opt/mm.vpn.fail MMSTOP - sleep 30s - "${VPN_START[@]}" & sleep 1m + "${VPN_START[@]}" & + sleep 30s rm -f /opt/mm.stop exit 1 fi