projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix installation kernel config and kernel init script
[openwrt/svn-archive/archive.git]
/
libs
/
avahi
/
files
/
avahi-daemon.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
START
=
50
4
5
BIN
=
avahi-daemon
6
DEFAULT
=/
etc
/
default
/
$BIN
7
OPTIONS
=
"-D"
8
RUN_D
=/
var
/
run
/
$BIN
9
10
start
() {
11
[
-f
$DEFAULT
] &&
.
$DEFAULT
12
mkdir
-p
$RUN_D
13
$BIN $OPTIONS
14
}
15
16
stop
() {
17
$BIN
-k
18
}
19
20
reload
() {
21
$BIN
-r
22
}
23