Package: zeroconf
Version: 0.6.1-1
Severity: normal
Tags: patch

Hi,

if zeroconf is removed (not purged), on ifup I get:

/etc/network/if-up.d/zeroconf: line 43: /usr/sbin/zeroconf: No such file
or directory

The attached patch fixes that.

bye,
  Roland


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)

Versions of packages zeroconf depends on:
ii  ifupdown                      0.6.7      high level tools to configure netw
ii  iproute                       20051007-3 Professional tools to control the 
ii  libc6                         2.3.6-4    GNU C Library: Shared libraries an

zeroconf recommends no packages.
--- debian-zeroconf.orig        2006-03-27 09:13:44.000000000 +0200
+++ debian-zeroconf     2006-03-27 09:14:27.000000000 +0200
@@ -1,5 +1,9 @@
 #!/bin/sh

+if [ ! -x /usr/sbin/zeroconf ] ; then
+    exit 0
+fi
+
 # IPv4 link-local addresses (zeroconf) are
 # only applicable on the 'inet' address family
 [ "X$ADDRFAM" != "Xinet" ] && exit 0

Reply via email to