summaryrefslogtreecommitdiffstats
path: root/openwrt/package/ppp
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-21 14:02:53 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-21 14:02:53 +0000
commit629b5c0767c8557ab688582bb6bd86c448f8c243 (patch)
tree57b8983b840371a9290d4ead137ab9ea8f457c5f /openwrt/package/ppp
parentaf1defb8112803209042a689abfe38beaf1a4554 (diff)
add config file /etc/config/network, add board-specific network.overrides (instead of nvram.overrides)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1519 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/ppp')
-rw-r--r--openwrt/package/ppp/files/ifup.pppoe2
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/ppp/files/ifup.pppoe b/openwrt/package/ppp/files/ifup.pppoe
index 6bac6a6d1..94179a3ea 100644
--- a/openwrt/package/ppp/files/ifup.pppoe
+++ b/openwrt/package/ppp/files/ifup.pppoe
@@ -1,6 +1,8 @@
#!/bin/sh
[ $# = 0 ] && { echo " $0 <group>"; exit; }
. /etc/functions.sh
+. /etc/nvram.overrides
+[ -e /etc/config/network ] && . /etc/config/network
type=$1
[ "$(nvram get ${type}_proto)" = "pppoe" ] || {