fix failsafe mode on brcm-2.4
authorFelix Fietkau <nbd@openwrt.org>
Wed, 16 Nov 2005 22:12:18 +0000 (22:12 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 16 Nov 2005 22:12:18 +0000 (22:12 +0000)
SVN-Revision: 2513

openwrt/target/linux/package/base-files/files/brcm-2.4/etc/network.overrides

index dc3abcaebd2044b79e13236b1cd7d6575cd6f6ac..3b0b3151f9da0fd9e53456da5b1573e9b4c80e32 100644 (file)
@@ -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"
 }