Update mm-scripts.sh
This commit is contained in:
@@ -161,9 +161,7 @@ MMSTART(){
|
|||||||
fi
|
fi
|
||||||
if [ -f /opt/mm.vpn.fail* ]; then
|
if [ -f /opt/mm.vpn.fail* ]; then
|
||||||
echo "$(date) - VPN issue has been fixed" >> $logfile
|
echo "$(date) - VPN issue has been fixed" >> $logfile
|
||||||
if [ "${1}" == "check" ]; then
|
[ $SENDNOTICE = true ] && echo "VPN issue has been fixed" | mail -s "Services Restored" 9208839613@mms.att.net
|
||||||
[ $SENDNOTICE = true ] && echo "VPN issue has been fixed" | mail -s "Services Restored" 9208839613@mms.att.net
|
|
||||||
fi
|
|
||||||
rm -f /opt/mm.vpn.fail*
|
rm -f /opt/mm.vpn.fail*
|
||||||
fi
|
fi
|
||||||
rm -f /opt/mm.stop
|
rm -f /opt/mm.stop
|
||||||
|
|||||||
Reference in New Issue
Block a user