+### BEGIN INIT INFO
+# Required-Start: messagebus
+# Required-Stop: messagebus
+# Should-Start: $syslog $network $local_fs
+# Should-Stop: $syslog $local_fs
+# Default-Start: 3 4 5
+# Default-Stop: 0 1 2 6
+# Short-Description: Starts the Avahi Daemon
+# Description: This is a daemon which runs on client machines to
+# perform Zeroconf service discovery on a
+# network. avahi-daemon must be running on systems
+# that use Avahi for service discovery.
+# Avahi-daemon should not be running otherwise.
+### END INIT INFO
+
+AVAHI_BIN=@sbindir@/avahi-daemon
+AVAHI_OPTS="-D"
+
+if [ "$1" = 'status' ]; then
+ test -x $AVAHI_BIN || exit 4
+else
+ test -x $AVAHI_BIN || exit 5
+fi