projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add miredo package
[openwrt.git]
/
openwrt
/
package
/
miredo
/
files
/
miredo-server.init
1
#!/bin/sh
2
3
BIN
=
miredo-server
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
[
-d
$RUN_D
]
|| mkdir
-p
$RUN_D
12
insmod ipv6
13
insmod tun
14
$BIN $OPTIONS
15
;;
16
stop
)
17
[
-f
$PID_F
] &&
kill
$
(
cat
$PID_F
)
18
;;
19
restart
)
20
$0
stop
21
$0
start
22
;;
23
*)
24
echo
"usage:
$0
(start|stop|restart)"
25
exit
1
26
esac
27
28
exit
$?
This page took
0.043972 seconds
and
5
git commands to generate.