#!/bin/sh
#
-# avahi-daemon: Starts the Avahi Daemon
+# avahi-daemon: Starts the Avahi mDNS/DNS-SD Stack
#
# chkconfig: 345 24 02
-# 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.
+# 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.
# processname: avahi-daemon
# pidfile: @localstatedir@/run/avahi-daemon/pid
+### 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"