From d268c34d0b6843bb6b4aca47c2f445e41dbfa7fb Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 4 Mar 2023 23:17:05 -0600 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mm-scripts.sh b/mm-scripts.sh index 42799c6..c9ff2b7 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -488,6 +488,11 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then echo exit 1 fi + elif [ "${VPN_USER}" == "" ] || [ "${VPN_PASS}" == "" ] || [ "${VPN_SERVER}" == "" ]; then + echo "$(date) - VPN User Info Missing" >> $logfile + echo -e "${idsCL[Red]}VPN User Info Missing${idsCL[Default]}" + echo + exit 1 fi touch ${MMFOLDER}/mm.stop [ "${action}" = "check" ] && touch ${MMFOLDER}/mm.stop.checking