Update mm-scripts.sh

This commit is contained in:
2023-03-04 23:17:05 -06:00
parent 05e41b82a3
commit d268c34d0b

View File

@@ -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