blob: 7eed5794c8b6c2002ed007881460c931051095f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#!/bin/sh
. netifd-proto.sh
ppp_init_config() {
proto_config_add_string "username"
proto_config_add_string "password"
proto_config_add_int "keepalive"
}
ppp_setup() {
echo "ppp_setup: $1"
}
ppp_teardown() {
return
}
ppp_init() {
no_device=1
available=1
}
add_protocol ppp
pppoe_init_config() {
ppp_init_config
}
pppoe_init() {
return
}
pppoe_setup() {
echo "pppoe_setup: $1"
}
pppoe_teardown() {
return
}
add_protocol pppoe
|