X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=proto%2Fppp.sh;h=8e8ceb2d3b417e34372234d0c0b333b00e771b22;hp=9a5816b0b2839f2c75d4b82e0e3f03ca7e6c6c77;hb=98565127c60cba3d5b747bb9eb698e06d187f45b;hpb=c601d036d6e9efce0c31eecd0fc66a716f41f2a3 diff --git a/proto/ppp.sh b/proto/ppp.sh index 9a5816b..8e8ceb2 100755 --- a/proto/ppp.sh +++ b/proto/ppp.sh @@ -9,7 +9,7 @@ ppp_init_config() { } ppp_setup() { - echo "ppp_setup: $1" + echo "ppp_setup($1): $2" } ppp_teardown() { @@ -17,7 +17,8 @@ ppp_teardown() { } ppp_init() { - return + no_device=1 + available=1 } add_protocol ppp @@ -31,7 +32,7 @@ pppoe_init() { } pppoe_setup() { - echo "pppoe_setup: $1" + echo "pppoe_setup($1, $3): $2" } pppoe_teardown() {