projects
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f8bee67090b5da7bd71f56413fb52225a9b46b8e
[packages.git]
/
libs
/
avahi
/
files
/
avahi-daemon.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
4
BIN=avahi-daemon
5
DEFAULT=/etc/default/$BIN
6
OPTIONS="-D"
7
RUN_D=/var/run/$BIN
8
9
start() {
10
[ -f $DEFAULT ] && . $DEFAULT
11
mkdir -p $RUN_D
12
$BIN $OPTIONS
13
}
14
15
stop() {
16
$BIN -k
17
}
18
19
reload() {
20
$BIN -r
21
}
22