tags 322860 patch
Here is another patch, this one simply makes sure that the space after
search is always there (which makes the search statement valid even if
there is no domain name defined).
Regards,
Håkan Lindqvist
--- /tmp/dhclient-script 2005-12-02 08:59:07.381994408 +0100
+++ /etc/dhclient-script 2005-12-02 08:57:07.598204312 +0100
@@ -49,7 +49,7 @@
}
else
make_resolv_conf() {
- echo search $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