summaryrefslogtreecommitdiffhomepage
path: root/dummy/proto
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-10 15:50:35 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-10 15:50:38 +0200
commitbcae80898d18bd8640efae10c3f3dff93c1be3d0 (patch)
tree3e6c88f29d0096f8d5450682e9726c8b039f8d04 /dummy/proto
parenta6e4abcb9687b579dddaa4ba4b08d4e5124a8101 (diff)
proto-shell: move all proto init code to a separate function
Diffstat (limited to 'dummy/proto')
-rwxr-xr-xdummy/proto/ppp.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/dummy/proto/ppp.sh b/dummy/proto/ppp.sh
index 9a35fc9..5078833 100755
--- a/dummy/proto/ppp.sh
+++ b/dummy/proto/ppp.sh
@@ -1,6 +1,7 @@
#!/bin/sh
. ../netifd-proto.sh
+init_proto "$@"
ppp_init_config() {
proto_config_add_string "username"