etc-gentoo/init.d/avahi-dnsconfd
Hans Wurst ea9642431e committing changes in /etc after emerge run
Package changes:
+net-dns/avahi-0.6.31-r8
2015-08-24 02:00:25 +02:00

29 lines
456 B
Plaintext
Executable File

#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
extra_started_commands="reload"
depend() {
need avahi-daemon
use net
}
start() {
ebegin "Starting avahi-dnsconfd"
/usr/sbin/avahi-dnsconfd -D
eend $?
}
stop() {
ebegin "Stopping avahi-dnsconfd"
/usr/sbin/avahi-dnsconfd -k
eend $?
}
reload() {
ebegin "Reloading avahi-dnsconfd"
/usr/sbin/avahi-dnsconfd -r
eend $?
}