The provided patch had a leftover debug statetment in it:

        touch /tmp/$nameserver

Here's an updated version with the statement removed.

Geoff

------------------------ Begin included text ------------------------
--- resolvconf.orig/etc/dhcp/dhclient-enter-hooks.d/resolvconf
+++ resolvconf/etc/dhcp/dhclient-enter-hooks.d/resolvconf
@@ -15,6 +15,10 @@
                        # Delete resolv.conf info 
                        [ ! "$interface" ] || /sbin/resolvconf -d "$interface"
                        ;;
+               EXPIRE6|RELEASE6|STOP6)
+                       # Delete resolv.conf info 
+                       [ ! "$interface" ] || /sbin/resolvconf -d 
"${interface}_ip6"
+                       ;;
        esac
        # For safety, undefine the nasty default make_resolv_conf()
        make_resolv_conf() {
@@ -44,5 +48,19 @@
                                [ ! "$interface" ] || echo -n "$R" | 
/sbin/resolvconf -a "$interface"
                        }
                        ;;
+               BOUND6|RENEW6|REBIND6)
+                       make_resolv_conf() {
+                               R=""
+                               if [ "$new_dhcp6_name_servers" ] && [ 
"$new_dhcp6_domain_search" ] ; then
+                                       R="${R}search $new_dhcp6_domain_search
+"
+                               fi
+                               for nameserver in $new_dhcp6_name_servers ; do
+                                       R="${R}nameserver $nameserver
+"
+                               done
+                               [ ! "$interface" ] || echo -n "$R" | 
/sbin/resolvconf -a "${interface}_ip6"
+                       }
+                       ;;
        esac
 fi
------------------------- End included text -------------------------



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to