4 # Required-Start: $network dbus
7 # Description: Avahi, a ZeroConf daemon for mDNS and service registration
10 AVAHI_BIN=@sbindir@/avahi-daemon
11 test -x $AVAHI_BIN || exit 5
18 echo -n "Starting Avahi daemon"
19 /sbin/startproc $AVAHI_BIN -D
21 for (( n=0 ; n<10 ; n++ )) ; do
22 if test -f /var/run/avahi-daemon/pid ; then
32 echo -n "Shutting down Avahi daemon"
33 $AVAHI_BIN -k || /bin/true
42 echo -n "Reloading Avahi daemon"
47 echo -n "Checking for Avahi daemon: "
52 echo "Usage: $0 {start|stop|status|restart|force-reload|reload}"