Update mm-scripts.sh

This commit is contained in:
2022-06-18 08:45:00 -05:00
parent 8d19385335
commit 5553e15857

View File

@@ -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