projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix ssltunnel dependency on openssl
[openwrt.git]
/
openwrt
/
package
/
l2tpd
/
files
/
l2tpd.init
1
#!/bin/sh
2
3
BIN
=
l2tpd
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
$BIN $OPTIONS
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
21
exit
$?
This page took
0.046851 seconds
and
5
git commands to generate.