#!/sbin/runscript # Avahi ZeroConf Daemon init script # Many thanks to the Avahi developer's and Sebastien Estienne # Author: Steev Klimaszewski DAEMON=/usr/bin/avahi-daemon depend () { need net use dbus } start() { ebegin "Starting avahi" $DAEMON -D eend $? } stop() { ebegin "Stopping avahi" $DAEMON -k || /bin/true eend $? } reload() { ebegin "Reloading avahi configuration" $DAEMON -r eend $? }