summaryrefslogtreecommitdiffstats
path: root/openwrt/package/pptp
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/pptp')
-rw-r--r--openwrt/package/pptp/files/ifup.pptp2
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/pptp/files/ifup.pptp b/openwrt/package/pptp/files/ifup.pptp
index 21a574acb..833544077 100644
--- a/openwrt/package/pptp/files/ifup.pptp
+++ b/openwrt/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