proto_config_add_string "device"
ppp_generic_init_config
no_device=1
+ available=1
}
ppp_setup() {
ppp_generic_teardown "$@"
}
-ppp_init() {
- return
-}
-
pppoe_init_config() {
ppp_generic_init_config
proto_config_add_string "ac"
ppp_generic_teardown "$@"
}
-pppoe_init() {
- return
-}
-
pppoa_init_config() {
ppp_generic_init_config
proto_config_add_int "atmdev"
ppp_generic_teardown "$@"
}
-pppoa_init() {
- return
-}
-
[ -n "$INCLUDE_ONLY" ] || {
add_protocol ppp
[ -f /usr/lib/pppd/*/rp-pppoe.so ] && add_protocol pppoe