rendered paste bodyIndex: debian/avahi-daemon.init
===================================================================
--- debian/avahi-daemon.init (Revision 1905)
+++ debian/avahi-daemon.init (Arbeitskopie)
@@ -25,15 +25,16 @@
. /lib/lsb/init-functions
-# don't start if /etc/default/avahi-daemon says so.
-AVAHI_DAEMON_START=1
+# Include avahi-daemon defaults if available.
test -f /etc/default/avahi-daemon && . /etc/default/avahi-daemon
DISABLE_TAG="/var/run/avahi-daemon/disabled-for-unicast-local"
-if [ "$AVAHI_DAEMON_START" != "1" -a "$1" != "stop" ]; then
- log_warning_msg "Not starting $DESC $NAME, disabled via /etc/default/$NAME"
- exit 0
+if [ -n "$AVAHI_DAEMON_START" ]; then
+ log_warning_msg "The AVAHI_DAEMON_START option in /etc/default/$NAME is deprecated."
+ log_warning_msg "Please remove this setting from the configuration file."
+ log_warning_msg "If you want to disable the service, use a runlevel editor"
+ log_warning_msg "like sysv-rc-conf for bum instead."
fi