Update mm-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user