add work in progress code for enumerating shell protocol handlers
[project/netifd.git] / proto / ppp.sh
diff --git a/proto/ppp.sh b/proto/ppp.sh
new file mode 100755 (executable)
index 0000000..76df2f3
--- /dev/null
@@ -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