Update mm-scripts.sh

This commit is contained in:
2022-06-16 19:31:30 -05:00
parent 0e0d8c082d
commit 41d2cf33e9

View File

@@ -51,9 +51,9 @@ MMSTART(){
touch /opt/mm.vpn.fail2
rm -f /opt/mm.vpn.fail
MMSTOP
#sleep 5m
sleep 5m
"${VPN_START[@]}" &
#sleep 1m
sleep 1m
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 1m
sleep 1m
"${VPN_START[@]}" &
#sleep 1m
sleep 1m
rm -f /opt/mm.stop
exit 1
fi
@@ -368,7 +368,7 @@ else
echo
fi
#exit 0
exit 0