blob: 9a5816b0b2839f2c75d4b82e0e3f03ca7e6c6c77 (
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
|
#!/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() {
return
}
add_protocol ppp
pppoe_init_config() {
ppp_init_config
}
pppoe_init() {
return
}
pppoe_setup() {
echo "pppoe_setup: $1"
}
pppoe_teardown() {
return
}
add_protocol pppoe
|