]> git.meshlink.io Git - catta/commitdiff
kill avahi autoipd when dhclient enters RELEASE state. (following debian bug 419794)
authorLennart Poettering <lennart@poettering.net>
Thu, 19 Apr 2007 17:56:30 +0000 (17:56 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 19 Apr 2007 17:56:30 +0000 (17:56 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1443 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-autoipd/dhclient-enter-hook.in
avahi-autoipd/dhclient-exit-hook.in

index 0c274b94251c76faa9aa974fc414b0df28e6e6bf..10449f14a5103737e45e25fd77798a10bf547a39 100755 (executable)
@@ -23,11 +23,11 @@ case "$reason" in
     MEDIUM|ARPCHECK|ARPSEND|NBI)
         ;;
 
-    PREINIT|BOUND|RENEW|REBIND|REBOOT|STOP)
+    PREINIT|BOUND|RENEW|REBIND|REBOOT|STOP|RELEASE)
         @sbindir@/avahi-autoipd -k $interface 2> /dev/null
         ;;
     
-    EXPIRE|FAIL|RELEASE|TIMEOUT)
+    EXPIRE|FAIL|TIMEOUT)
         # Starting avahi-autoipd is left for the exit hook
         ;;
 esac
index 4f7167ea6689ea9030b85543e29d1cdacee5c6d7..3dcb7df2d98b6764cc8c782feb67dd8294bb01f6 100755 (executable)
@@ -23,11 +23,11 @@ case "$reason" in
     MEDIUM|ARPCHECK|ARPSEND|NBI)
         ;;
 
-    PREINIT|BOUND|RENEW|REBIND|REBOOT|STOP)
+    PREINIT|BOUND|RENEW|REBIND|REBOOT|STOP|RELEASE)
         # Stopping avahi-autoipd is left for the enter hook
         ;;
     
-    EXPIRE|FAIL|RELEASE|TIMEOUT)
+    EXPIRE|FAIL|TIMEOUT)
         @sbindir@/avahi-autoipd -wD $interface 2> /dev/null
         ;;
 esac