add work in progress code for enumerating shell protocol handlers
[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_init() {
12         return
13 }
14
15 add_protocol ppp
16
17 pppoe_init_config() {
18         ppp_init_config
19 }
20
21 pppoe_init() {
22         return
23 }
24
25 add_protocol pppoe