From c601d036d6e9efce0c31eecd0fc66a716f41f2a3 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 10 Sep 2011 18:34:43 +0200 Subject: fix invoking shell protocol handler scripts --- proto/ppp.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'proto/ppp.sh') 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 -- cgit v1.2.3