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