1#!/sbin/runscript 2# $Id$ 3# Copyright 1999-2007 Gentoo Foundation 4# Distributed under the terms of the GNU General Public License v2 5 6opts="reload" 7 8depend() { 9 before netmount nfsmount 10 use net 11 need dbus 12} 13 14start() { 15 ebegin "Starting avahi-daemon" 16 @sbindir@/avahi-daemon -D 17 eend $? 18} 19 20stop() { 21 ebegin "Stopping avahi-daemon" 22 @sbindir@/avahi-daemon -k 23 eend $? 24} 25 26reload() { 27 ebegin "Reloading avahi-daemon" 28 @sbindir@/avahi-daemon -r 29 eend $? 30} 31