diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-12-16 11:51:24 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-12-16 11:51:24 +0100 |
commit | c6000c9d9949b3326fb82f02431899ab6774b960 (patch) | |
tree | 2453cd564b0f382f3d8ccd893df8ebe2e9aeda71 /dhclient/fix-broken-resolvconf.patch | |
parent | 453f0f12918af35bd8e1e5f049841360f37d62e4 (diff) | |
download | aur-packages-c6000c9d9949b3326fb82f02431899ab6774b960.tar.gz aur-packages-c6000c9d9949b3326fb82f02431899ab6774b960.tar.xz |
big cleanup
Diffstat (limited to 'dhclient/fix-broken-resolvconf.patch')
-rw-r--r-- | dhclient/fix-broken-resolvconf.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/dhclient/fix-broken-resolvconf.patch b/dhclient/fix-broken-resolvconf.patch deleted file mode 100644 index 5f73167..0000000 --- a/dhclient/fix-broken-resolvconf.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -Nur dhcp-3.0.6.orig/client/scripts/linux dhcp-3.0.6/client/scripts/linux ---- dhcp-3.0.6.orig/client/scripts/linux 2008-03-29 18:44:07.000000000 +0100 -+++ dhcp-3.0.6/client/scripts/linux 2008-03-29 18:45:06.000000000 +0100 -@@ -36,8 +36,9 @@ - fi; - - make_resolv_conf() { -- if [ "x$new_domain_name" != x ] && [ x"$new_domain_name_servers" != x ]; then -- echo search $new_domain_name >/etc/resolv.conf -+ if [ -n "$new_domain_name_servers" ]; then -+ : > /etc/resolv.conf -+ [ -n "$new_domain_name" ] && echo search $new_domain_name >/etc/resolv.conf - chmod 644 /etc/resolv.conf - for nameserver in $new_domain_name_servers; do - echo nameserver $nameserver >>/etc/resolv.conf |