pass ifname to the shell proto handler
[project/netifd.git] / proto / ppp.sh
index 9a5816b..428096b 100755 (executable)
@@ -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($2): $1"
 }
 
 pppoe_teardown() {