summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-11-16 22:12:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-11-16 22:12:18 +0000
commit8f521de127e850de3ce76b7d82ea2d7d068315c2 (patch)
tree926447992b4ad9ed7c8f712b9c3dbc0138ec1434 /openwrt/target/linux/package/base-files
parent68e656c1818d47c733f9886fae6c50115ff7a6cf (diff)
downloadmtk-20170518-8f521de127e850de3ce76b7d82ea2d7d068315c2.zip
mtk-20170518-8f521de127e850de3ce76b7d82ea2d7d068315c2.tar.gz
mtk-20170518-8f521de127e850de3ce76b7d82ea2d7d068315c2.tar.bz2
fix failsafe mode on brcm-2.4
SVN-Revision: 2513
Diffstat (limited to 'openwrt/target/linux/package/base-files')
-rw-r--r--openwrt/target/linux/package/base-files/files/brcm-2.4/etc/network.overrides14
1 files changed, 7 insertions, 7 deletions
diff --git a/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/network.overrides b/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/network.overrides
index dc3abca..3b0b315 100644
--- a/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/network.overrides
+++ b/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/network.overrides
@@ -31,11 +31,11 @@ DEFAULT_lan_hwaddr=${BR2_SYSCONF_FAILSAFE_MAC:-"00:0B:AD:0A:DD:00"}
# failsafe if reset is held
[ "$FAILSAFE" = "true" ] && {
echo "### YOU ARE IN FAILSAFE MODE ####"
- NVRAM_lan_ifname="br0"
- NVRAM_lan_ifnames=$FAILSAFE_ifnames
- NVRAM_lan_ipaddr=DEFAULT_lan_ipaddr
- NVRAM_lan_netmask=DEFAULT_lan_netmask
- NVRAM_lan_hwaddr=DEFAULT_lan_hwaddr
- NVRAM_wan_ifname="none"
- NVRAM_wifi_ifname="none"
+ lan_ifname="br0"
+ lan_ifnames=$FAILSAFE_ifnames
+ lan_ipaddr=DEFAULT_lan_ipaddr
+ lan_netmask=DEFAULT_lan_netmask
+ lan_hwaddr=DEFAULT_lan_hwaddr
+ wan_ifname="none"
+ wifi_ifname="none"
}