projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[packages] ssmtp: update to 2.64 (#6467)
[openwrt/svn-archive/archive.git]
/
libs
/
howl
/
files
/
nifd.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
START
=
50
4
5
DEFAULT
=/
etc
/
default
/
nifd
6
RUN_D
=/
var
/
run
7
PID_F
=
$RUN_D
/
nifd.pid
8
9
start
() {
10
[
-f
$DEFAULT
] &&
.
$DEFAULT
11
[
-d
$RUN_D
]
|| mkdir
-p
$RUN_D
12
nifd
$OPTIONS
13
}
14
stop
() {
15
[
-f
$PID_F
] &&
kill
$
(
cat
$PID_F
)
16
}
17