diff --git a/mm-scripts.sh b/mm-scripts.sh index 06f0c57..2c167b3 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -83,6 +83,11 @@ MMSTART(){ if [ "${zerogw}" = "${defaultgw}" ]; then checked="" 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)) sleep 1s done