summaryrefslogtreecommitdiffhomepage
path: root/examples/proto/pptp.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-09-24 09:42:17 +0200
committerFelix Fietkau <nbd@openwrt.org>2013-10-19 17:31:56 +0200
commitbdb28375d9872a49f7008fbdf2d8a1fad3790344 (patch)
treed19e3fbe117226b159dc97a953c95986f1b04008 /examples/proto/pptp.sh
parentc8e879595400e3485b5a075797290a1061c0b04f (diff)
scripts: move some utility functions out of netifd-proto.sh into utils.sh
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'examples/proto/pptp.sh')
-rwxr-xr-xexamples/proto/pptp.sh4
1 files changed, 3 insertions, 1 deletions
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() {