From ed36d5e936f5a7f934d45a3a45b4f12befee25fd Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 19 Jun 2022 18:48:47 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index be96661..1e4a77c 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -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