Update mm-scripts.sh

This commit is contained in:
2022-05-07 23:11:51 -05:00
parent dd524b1060
commit 6eb97476b4

View File

@@ -83,6 +83,11 @@ MMSTART(){
if [ "${zerogw}" = "${defaultgw}" ]; then if [ "${zerogw}" = "${defaultgw}" ]; then
checked="" checked=""
fi fi
if [ "${checked}" == "false" ] && [ ${cc} -eq 10 ]; then
echo -e "${idsCL[Red]}Could not confirm default routes using the VPN only!${idsCL[Default]}"
MMSTOP
exit 1
fi
((cc=${cc}+1)) ((cc=${cc}+1))
sleep 1s sleep 1s
done done