extend vlist code to allow keeping the old data structure instead of the new one...
[project/netifd.git] / proto / ppp.sh
index 9a5816b..8e8ceb2 100755 (executable)
@@ -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() {