blob: 8b3a35934525fd5b3192c855d0e5a626de2afc45 (
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
|
#!/sbin/runscript
# Avahi ZeroConf Daemon init script
# Many thanks to the Avahi developer's and Sebastien Estienne
# Author: Steev Klimaszewski <steev@steev.net>
DAEMON=/usr/bin/avahi-daemon
depend () {
need net
use dbus
}
start() {
ebegin "Starting avahi"
$DAEMON -D
eend $?
}
stop() {
ebegin "Stopping avahi"
$DAEMON -k || /bin/true
eend $?
}
reload() {
ebegin "Reloading avahi configuration"
$DAEMON -r
eend $?
}
|