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