fix invoking shell protocol handler scripts
[project/netifd.git] / proto / ppp.sh
index 8dd97c0..9a5816b 100755 (executable)
@@ -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