projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add b44 patches from oleg, sync with 2.4, robocfg seems to work, yeah.
[openwrt.git]
/
package
/
pmacct
/
files
/
nfacctd.init
1
#!/bin/sh
2
3
BIN
=
nfacctd
4
DEFAULT
=/
etc
/
default
/
$BIN
5
RUN_D
=/
var
/
run
6
PID_F
=
$RUN_D
/
$BIN
.pid
7
[
-f
$DEFAULT
] &&
.
$DEFAULT
8
9
case
$1
in
10
start
)
11
mkdir
-p
$RUN_D
12
$BIN $OPTIONS
13
;;
14
stop
)
15
[
-f
$PID_F
] &&
kill -INT
$
(
cat
$PID_F
)
16
;;
17
*)
18
echo
"usage:
$0
(start|stop)"
19
exit
1
20
esac
21
22
exit
$?
This page took
0.042016 seconds
and
5
git commands to generate.