Actaully put the route adding under the conditional logic checking. Ticket #1408.
This commit is contained in:
parent
114a929286
commit
978cf4fd6c
|
@ -242,8 +242,8 @@ add_new_resolv_conf() {
|
|||
# also backup the nameserver for later route removal
|
||||
if [ $ALLOWOVERRIDE -gt 0 ]; then
|
||||
echo $nameserver >>/var/etc/nameserver_$interface
|
||||
$ROUTE add $nameserver -iface $interface
|
||||
fi
|
||||
$ROUTE add $nameserver -iface $interface
|
||||
done
|
||||
echo $new_domain_name >/var/etc/searchdomain_$interface
|
||||
fi
|
||||
|
|
Reference in New Issue