Actaully put the route adding under the conditional logic checking. Ticket #1408.

This commit is contained in:
Ermal 2011-05-06 21:02:12 +00:00
parent 114a929286
commit 978cf4fd6c
1 changed files with 1 additions and 1 deletions

View File

@ -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