projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add dependency to zlib
[openwrt.git]
/
openwrt
/
package
/
pptpd
/
files
/
pptpd.init
1
#!/bin/sh
2
3
BIN
=
pptpd
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
for
m
in
arc4 sha1 shlc ppp_generic ppp_async ppp_mppe_mppc
;
do
13
insmod
$m
>/
dev
/
null
2
>&
1
14
done
15
$BIN $OPTIONS
16
;;
17
stop
)
18
[
-f
$PID_F
] &&
kill
$
(
cat
$PID_F
)
19
;;
20
*)
21
echo
"usage:
$0
(start|stop)"
22
exit
1
23
esac
24
25
exit
$?
This page took
0.041821 seconds
and
5
git commands to generate.