projects
/
project
/
netifd.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
proto-shell: parse shell handler metadata
[project/netifd.git]
/
proto
/
ppp.sh
1
#!/bin/sh
2
3
. netifd-proto.sh
4
5
ppp_init_config() {
6
proto_config_add_string "username"
7
proto_config_add_string "password"
8
proto_config_add_int "keepalive"
9
}
10
11
ppp_setup() {
12
return
13
}
14
15
ppp_teardown() {
16
return
17
}
18
19
ppp_init() {
20
return
21
}
22
23
add_protocol ppp
24
25
pppoe_init_config() {
26
ppp_init_config
27
}
28
29
pppoe_init() {
30
return
31
}
32
33
add_protocol pppoe