Update mm-scripts.sh

This commit is contained in:
2022-06-19 18:48:47 -05:00
parent 5553e15857
commit ed36d5e936

View File

@@ -161,9 +161,7 @@ MMSTART(){
fi
if [ -f /opt/mm.vpn.fail* ]; then
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
fi
[ $SENDNOTICE = true ] && echo "VPN issue has been fixed" | mail -s "Services Restored" 9208839613@mms.att.net
rm -f /opt/mm.vpn.fail*
fi
rm -f /opt/mm.stop