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
#!/bin/sh . netifd-proto.sh ppp_init_config() { proto_config_add_string "username" proto_config_add_string "password" proto_config_add_int "keepalive" } ppp_init() { return } add_protocol ppp pppoe_init_config() { ppp_init_config } pppoe_init() { return } add_protocol pppoe