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 need avahi-daemon 10 use net 11} 12 13start() { 14 ebegin "Starting avahi-dnsconfd" 15 @sbindir@/avahi-dnsconfd -D 16 eend $? 17} 18 19stop() { 20 ebegin "Stopping avahi-dnsconfd" 21 @sbindir@/avahi-dnsconfd -k 22 eend $? 23} 24 25reload() { 26 ebegin "Reloading avahi-dnsconfd" 27 @sbindir@/avahi-dnsconfd -r 28 eend $? 29} 30