Update mm-scripts.sh
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user