diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-07-21 14:02:53 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-07-21 14:02:53 +0000 |
commit | 2afc4e3e6663473610d0f46c9bae925ee2bd251d (patch) | |
tree | 6774b82fd38b45494fc668c919d763dae64ab7c1 /package/ppp/files | |
parent | 6b386ef312f4c77b502bdf497b9e19a548b58101 (diff) | |
download | upstream-2afc4e3e6663473610d0f46c9bae925ee2bd251d.tar.gz upstream-2afc4e3e6663473610d0f46c9bae925ee2bd251d.tar.bz2 upstream-2afc4e3e6663473610d0f46c9bae925ee2bd251d.zip |
add config file /etc/config/network, add board-specific network.overrides (instead of nvram.overrides)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1519 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/files')
-rw-r--r-- | package/ppp/files/ifup.pppoe | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/ppp/files/ifup.pppoe b/package/ppp/files/ifup.pppoe index 6bac6a6d15..94179a3eaa 100644 --- a/package/ppp/files/ifup.pppoe +++ b/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" ] || { |