summaryrefslogtreecommitdiff
path: root/openwrt/package/pptp/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-07-21 14:02:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-07-21 14:02:53 +0000
commit29a4b712e8658f13bf6f836943ec81d7cbcd3b73 (patch)
tree57b8983b840371a9290d4ead137ab9ea8f457c5f /openwrt/package/pptp/files
parent26854133f64778924b1f1974487bade7dbce8194 (diff)
downloadmtk-20170518-29a4b712e8658f13bf6f836943ec81d7cbcd3b73.zip
mtk-20170518-29a4b712e8658f13bf6f836943ec81d7cbcd3b73.tar.gz
mtk-20170518-29a4b712e8658f13bf6f836943ec81d7cbcd3b73.tar.bz2
add config file /etc/config/network, add board-specific network.overrides (instead of nvram.overrides)
SVN-Revision: 1519
Diffstat (limited to 'openwrt/package/pptp/files')
-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 21a574a..8335440 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