summaryrefslogtreecommitdiffstats
path: root/package/pptp/files/ifup.pptp
diff options
context:
space:
mode:
Diffstat (limited to 'package/pptp/files/ifup.pptp')
-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 21a574acb..833544077 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