summaryrefslogtreecommitdiffhomepage
path: root/proto/ppp.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-10 18:34:43 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-09-10 18:34:43 +0200
commitc601d036d6e9efce0c31eecd0fc66a716f41f2a3 (patch)
treeffd5a7d605f1c05f56f1264f49a1c8403863acfe /proto/ppp.sh
parent0e54c1a6088b7df98da521e4b60ac8b7e6429662 (diff)
fix invoking shell protocol handler scripts
Diffstat (limited to 'proto/ppp.sh')
-rwxr-xr-xproto/ppp.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/proto/ppp.sh b/proto/ppp.sh
index 8dd97c0..9a5816b 100755
--- a/proto/ppp.sh
+++ b/proto/ppp.sh
@@ -9,7 +9,7 @@ ppp_init_config() {
}
ppp_setup() {
- return
+ echo "ppp_setup: $1"
}
ppp_teardown() {
@@ -30,4 +30,12 @@ pppoe_init() {
return
}
+pppoe_setup() {
+ echo "pppoe_setup: $1"
+}
+
+pppoe_teardown() {
+ return
+}
+
add_protocol pppoe