summaryrefslogtreecommitdiffhomepage
path: root/examples/proto
diff options
context:
space:
mode:
Diffstat (limited to 'examples/proto')
-rwxr-xr-xexamples/proto/ppp.sh4
-rwxr-xr-xexamples/proto/pptp.sh4
2 files changed, 5 insertions, 3 deletions
diff --git a/examples/proto/ppp.sh b/examples/proto/ppp.sh
index f0d0ca3..4750f40 100755
--- a/examples/proto/ppp.sh
+++ b/examples/proto/ppp.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-DUMMY=1
-. ../../scripts/netifd-proto.sh
+NETIFD_MAIN_DIR=../../scripts
+. $NETIFD_MAIN_DIR/netifd-proto.sh
init_proto "$@"
diff --git a/examples/proto/pptp.sh b/examples/proto/pptp.sh
index 5189e95..7c8a13d 100755
--- a/examples/proto/pptp.sh
+++ b/examples/proto/pptp.sh
@@ -1,5 +1,7 @@
#!/bin/sh
-. ../../scripts/netifd-proto.sh
+NETIFD_MAIN_DIR=../../scripts
+. $NETIFD_MAIN_DIR/netifd-proto.sh
+
init_proto "$@"
proto_pptp_init_config() {