diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-09 21:30:59 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-09-09 21:30:59 +0200 |
commit | 23cfcee20f43d824d61fadef48af84a83d5b8816 (patch) | |
tree | fd84ddf5456fc300daa5c1993d87ae23249db9ac /proto/ppp.sh | |
parent | cfc905f003aefe4735f8645c561f789ffd0b1f30 (diff) |
add work in progress code for enumerating shell protocol handlers
Diffstat (limited to 'proto/ppp.sh')
-rwxr-xr-x | proto/ppp.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/proto/ppp.sh b/proto/ppp.sh new file mode 100755 index 0000000..76df2f3 --- /dev/null +++ b/proto/ppp.sh @@ -0,0 +1,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 |