etc-gentoo/init.d/avahi-daemon
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

30 lines
462 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() {
before netmount nfsmount
use net
need dbus
}
start() {
ebegin "Starting avahi-daemon"
/usr/sbin/avahi-daemon -D
eend $?
}
stop() {
ebegin "Stopping avahi-daemon"
/usr/sbin/avahi-daemon -k
eend $?
}
reload() {
ebegin "Reloading avahi-daemon"
/usr/sbin/avahi-daemon -r
eend $?
}