Update mm-scripts.sh

This commit is contained in:
2022-12-31 16:09:03 -06:00
parent fb7c7acb5a
commit 47fadd03a6

View File

@@ -40,7 +40,7 @@ MMSTART(){
if [ ${#OUT} = 0 ]; then
echo -en "${idsCL[LightCyan]}Starting the VPN Tunnel ... ${idsCL[Default]}"
"${VPN_START[@]}"
sleep 5s
sleep 10s
else
echo -en "${idsCL[Green]}The VPN Tunnel is already running ... ${idsCL[Default]}"
fi
@@ -94,7 +94,9 @@ MMSTART(){
/bin/ip route add default via $(ip route show | grep 0.0.0.0 | cut -d' ' -f 3)
fi
[ "${1}" = "start" ] && echo -e "${idsCL[Green]} done${idsCL[Default]}"
if [ "${1}" = "start" ] || [ "${1}" = "" ]; then
echo -e "${idsCL[Green]} done${idsCL[Default]}"
fi
echo -en "${idsCL[LightCyan]}Verifing default network routes... ${idsCL[Default]}"
checked=false