projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix building when host and target systems are same arch
[openwrt.git]
/
package
/
p910nd
/
files
/
p910nd.init
1
#!/bin/sh
2
3
DEFAULT
=/
etc
/
default
/
p910nd
4
[
-f
$DEFAULT
] &&
.
$DEFAULT
5
RUN_D
=/
var
/
run
6
PID_F
=
$RUN_D
/
p910
${PORT-0}
d.pid
7
8
case
$1
in
9
start
)
10
mkdir
-p
$RUN_D
11
p910nd
$OPTIONS $PORT
12
;;
13
stop
)
14
[
-f
$PID_F
] &&
kill
$
(
cat
$PID_F
)
15
;;
16
*)
17
echo
"usage:
$0
(start|stop)"
18
exit
1
19
esac
20
exit
$?
This page took
0.045401 seconds
and
5
git commands to generate.