blob: 8e8ceb2d3b417e34372234d0c0b333b00e771b22 (
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): $2"
}
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, $3): $2"
}
pppoe_teardown() {
return
}
add_protocol pppoe
|