blob: 376067eef8371cf4af80ac038133a40b0f0e87bc [file] [log] [blame]
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
opts="reload"
depend() {
need avahi-daemon
use net
}
start() {
ebegin "Starting avahi-dnsconfd"
@sbindir@/avahi-dnsconfd -D
eend $?
}
stop() {
ebegin "Stopping avahi-dnsconfd"
@sbindir@/avahi-dnsconfd -k
eend $?
}
reload() {
ebegin "Reloading avahi-dnsconfd"
@sbindir@/avahi-dnsconfd -r
eend $?
}