summaryrefslogtreecommitdiff
path: root/package/pptp/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/pptp/files')
-rw-r--r--package/pptp/files/ifup.pptp2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/pptp/files/ifup.pptp b/package/pptp/files/ifup.pptp
index 21a574acb7..8335440777 100644
--- a/package/pptp/files/ifup.pptp
+++ b/package/pptp/files/ifup.pptp
@@ -1,5 +1,7 @@
#!/bin/sh
. /etc/functions.sh
+. /etc/nvram.overrides
+[ -e /etc/config/network ] && . /etc/config/network
type=$1
[ "$(nvram get ${type}_proto)" = "pptp" ] || exit