summaryrefslogtreecommitdiffstats
path: root/initscript/gentoo/avahi-dnsconfd
blob: 85ad78e5f1a93152db108f29f0b717c474654a4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#! /bin/sh
#
# avahi-dnsconfd     avahi dns configuration daemon
#                               Daemon for ZeroConf
#
# Author:		Steev Klimaszewski <steev@steev.net>

DAEMON=/usr/bin/avahi-dnsconfd

depend () {
	need net
	after avahi-daemon
}

start() {
	ebegin "Starting avahi-dnsconfd"
        $DAEMON -D
	eend $?
}

stop() {
	ebegin "Stopping avahi-dnsconfd"
	$DAEMON -k || /bin/true
	eend $?
}

reload() {
	ebegin "Reloading avahi-dnsconfd"
        $DAEMON -r
	eend $?
}