summaryrefslogtreecommitdiff
path: root/client/scripts
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1998-01-12 00:39:31 +0000
committerTed Lemon <source@isc.org>1998-01-12 00:39:31 +0000
commitf245ec1f688684c9faaa3a70c20abc2c02498ff0 (patch)
tree84aa0735325da3a3c9a892dad57dcee8b20a7829 /client/scripts
parent5689130f1a0b49026d2f1caea321d5686d56aa7e (diff)
downloadisc-dhcp-f245ec1f688684c9faaa3a70c20abc2c02498ff0.tar.gz
Use new_network_number, not new_network_address. Use search, not domain in /etc/resolv.conf.
Diffstat (limited to 'client/scripts')
-rwxr-xr-xclient/scripts/linux8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/scripts/linux b/client/scripts/linux
index e0134615..57f8d1c5 100755
--- a/client/scripts/linux
+++ b/client/scripts/linux
@@ -77,7 +77,7 @@ if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \
ifconfig $interface inet $new_ip_address $new_subnet_arg \
$new_broadcast_arg
# Add a network route to the computed network address.
- route add -net $new_network_address $new_subnet_arg dev $interface
+ route add -net $new_network_number $new_subnet_arg dev $interface
for router in $new_routers; do
route add default gw $router
done
@@ -88,7 +88,7 @@ if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \
ifconfig $interface:0 inet $alias_ip_address $alias_subnet_arg
route add -host $alias_ip_address $interface:0
fi
- echo domain $new_domain_name >/etc/resolv.conf
+ echo search $new_domain_name >/etc/resolv.conf
for nameserver in $new_domain_name_servers; do
echo nameserver $nameserver >>/etc/resolv.conf
done
@@ -125,11 +125,11 @@ if [ x$reason = xTIMEOUT ]; then
ifconfig $interface:0 inet $alias_ip_address $alias_subnet_arg
route add -host $alias_ip_address dev $interface:0
fi
- route add -net $new_network_address
+ route add -net $new_network_number
for router in $new_routers; do
route add default gw $router
done
- echo domain $new_domain_name >/etc/resolv.conf.std
+ echo search $new_domain_name >/etc/resolv.conf.std
for nameserver in $new_domain_name_servers; do
echo nameserver $nameserver >>/etc/resolv.conf.std
done