]> git.meshlink.io Git - catta/blob - initscript/gentoo/avahi-dnsconfd.in
18efc0551d3d11405c21c2b761b1bc833ed4ff0b
[catta] / initscript / gentoo / avahi-dnsconfd.in
1 #!/sbin/runscript
2 # $Id$
3 # Copyright 1999-2007 Gentoo Foundation
4 # Distributed under the terms of the GNU General Public License v2
5
6 opts="reload"
7
8 depend() {
9         need avahi-daemon
10         use net
11 }
12
13 start() {
14         ebegin "Starting avahi-dnsconfd"
15         @sbindir@/avahi-dnsconfd -D
16         eend $?
17 }
18
19 stop() {
20         ebegin "Stopping avahi-dnsconfd"
21         @sbindir@/avahi-dnsconfd -k
22         eend $?
23 }
24
25 reload() {
26         ebegin "Reloading avahi-dnsconfd"
27         @sbindir@/avahi-dnsconfd -r
28         eend $?
29 }