diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-10 18:34:43 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-09-10 18:34:43 +0200 |
commit | c601d036d6e9efce0c31eecd0fc66a716f41f2a3 (patch) | |
tree | ffd5a7d605f1c05f56f1264f49a1c8403863acfe /proto/ppp.sh | |
parent | 0e54c1a6088b7df98da521e4b60ac8b7e6429662 (diff) |
fix invoking shell protocol handler scripts
Diffstat (limited to 'proto/ppp.sh')
-rwxr-xr-x | proto/ppp.sh | 10 |
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 |