From: Lennart Poettering Date: Thu, 19 Apr 2007 17:56:30 +0000 (+0000) Subject: kill avahi autoipd when dhclient enters RELEASE state. (following debian bug 419794) X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=6d19f5e1d1800396007e0f26bac8232539a2094c;p=catta kill avahi autoipd when dhclient enters RELEASE state. (following debian bug 419794) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1443 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-autoipd/dhclient-enter-hook.in b/avahi-autoipd/dhclient-enter-hook.in index 0c274b9..10449f1 100755 --- a/avahi-autoipd/dhclient-enter-hook.in +++ b/avahi-autoipd/dhclient-enter-hook.in @@ -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 diff --git a/avahi-autoipd/dhclient-exit-hook.in b/avahi-autoipd/dhclient-exit-hook.in index 4f7167e..3dcb7df 100755 --- a/avahi-autoipd/dhclient-exit-hook.in +++ b/avahi-autoipd/dhclient-exit-hook.in @@ -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