#!/bin/sh
#
-# $OpenBSD: dhclient-script,v 1.4 2000/02/11 01:23:18 chris Exp $
+# $OpenBSD: dhclient-script,v 1.5 2000/04/20 08:14:21 angelos Exp $
#
if [ x$new_network_number != x ]; then
for nameserver in $new_domain_name_servers; do
echo nameserver $nameserver >>/etc/resolv.conf
done
+ if [ -f /etc/resolv.conf.tail ]; then
+ cat /etc/resolv.conf.tail >>/etc/resolv.conf
+ fi
exit 0
fi
fi
for nameserver in $new_domain_name_servers; do
echo nameserver $nameserver >>/etc/resolv.conf.std
done
+ if [ -f /etc/resolv.conf.tail ]; then
+ cat /etc/resolv.conf.tail >>/etc/resolv.conf.std
+ fi
if [ -f /etc/resolv.conf ]; then
rm -f /etc/resolv.conf
fi