Update mm-scripts.sh
This commit is contained in:
@@ -67,7 +67,7 @@ MMSTART(){
|
|||||||
[ $SENDNOTICE = true ] && echo "1st Failure, will try and restart the VPN" | mail -s "VPN Failure" 9208839613@mms.att.net
|
[ $SENDNOTICE = true ] && echo "1st Failure, will try and restart the VPN" | mail -s "VPN Failure" 9208839613@mms.att.net
|
||||||
touch /opt/mm.vpn.fail
|
touch /opt/mm.vpn.fail
|
||||||
MMSTOP
|
MMSTOP
|
||||||
sleep 1m
|
sleep 30s
|
||||||
"${VPN_START[@]}" &
|
"${VPN_START[@]}" &
|
||||||
sleep 1m
|
sleep 1m
|
||||||
rm -f /opt/mm.stop
|
rm -f /opt/mm.stop
|
||||||
@@ -241,7 +241,7 @@ MMSTOP(){
|
|||||||
echo -e "${idsCL[Red]}All services have been stopped${idsCL[Default]}"
|
echo -e "${idsCL[Red]}All services have been stopped${idsCL[Default]}"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
exit 0
|
#exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
MMSTATUS(){
|
MMSTATUS(){
|
||||||
|
|||||||
Reference in New Issue
Block a user