Update mm-scripts.sh

This commit is contained in:
2022-12-31 16:55:10 -06:00
parent e73f3d60ab
commit d075e66a80

View File

@@ -101,8 +101,10 @@ MMSTART(){
if [ "${zerogw}" != "${defaultgw}" ]; then
[ $VERBOSE = true ] && echo "$(date) - Adding VPN default routes" >> $logfile
echo -en "${idsCL[LightCyan]}Adding VPN default routes... ${idsCL[Default]}"
/bin/ip route del default via 10.10.0.1
/bin/ip route add default via ${zerogw}
echo -e "${idsCL[Green]} done${idsCL[Default]}"
fi
if [ ${GOFORSTART} = true ]; then