repo.or.cz
/
openadk.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
toolchain: enable parallel building for gcc, glibc, binutils, gmp and mpfr
[openadk.git]
/
package
/
rp-pppoe
/
files
/
pppoe-client.init
blob
ea00f57f040986bf82a67c19f786ae7819d343f1
1
#!/bin/sh
2
#PKG pppoe-server
3
#INIT 50
4
5
.
/
etc
/
rc.conf
6
7
case
$1
in
8
autostop
) ;;
9
autostart
)
10
test
x
"
${pppoe_client:-NO}
"
=
x
"NO"
&&
exit
0
11
exec
sh
$0
start
12
;;
13
start
)
14
adsl-start
15
;;
16
stop
)
17
adsl-stop
18
;;
19
restart
)
20
sh
$0
stop
21
sh
$0
start
22
;;
23
*)
24
echo
"Usage:
$0
{start | stop | restart}"
25
exit
1
26
;;
27
esac
28
exit
$?