summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-16 22:12:18 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-16 22:12:18 +0000
commit6f2cd968526ae2966a74c7dac837c3496117d95c (patch)
treeb1d8d3217a74843eca826fce83b2f46329a1358c /target/linux
parent940c20260f8c71b2dd9879132b95eb4d7e1031aa (diff)
fix failsafe mode on brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2513 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/package/base-files/files/brcm-2.4/etc/network.overrides14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/package/base-files/files/brcm-2.4/etc/network.overrides b/target/linux/package/base-files/files/brcm-2.4/etc/network.overrides
index dc3abcaeb..3b0b3151f 100644
--- a/target/linux/package/base-files/files/brcm-2.4/etc/network.overrides
+++ b/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"
}