diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-04-19 17:56:30 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-04-19 17:56:30 +0000 |
commit | 6d19f5e1d1800396007e0f26bac8232539a2094c (patch) | |
tree | b9354027ede66dd71d2c0d8d58e1a06812971a21 /avahi-autoipd | |
parent | 49fa771dd7292ba6bfef41e25bd8d12b52741b20 (diff) |
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
Diffstat (limited to 'avahi-autoipd')
-rwxr-xr-x | avahi-autoipd/dhclient-enter-hook.in | 4 | ||||
-rwxr-xr-x | avahi-autoipd/dhclient-exit-hook.in | 4 |
2 files changed, 4 insertions, 4 deletions
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 |