1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-10 18:17:10 +02:00

fix failsafe mode on brcm-2.4

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2513 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2005-11-16 22:12:18 +00:00
parent b00eed0daa
commit 36006da899

View File

@ -31,11 +31,11 @@ DEFAULT_lan_hwaddr=${BR2_SYSCONF_FAILSAFE_MAC:-"00:0B:AD:0A:DD:00"}
# failsafe if reset is held # failsafe if reset is held
[ "$FAILSAFE" = "true" ] && { [ "$FAILSAFE" = "true" ] && {
echo "### YOU ARE IN FAILSAFE MODE ####" echo "### YOU ARE IN FAILSAFE MODE ####"
NVRAM_lan_ifname="br0" lan_ifname="br0"
NVRAM_lan_ifnames=$FAILSAFE_ifnames lan_ifnames=$FAILSAFE_ifnames
NVRAM_lan_ipaddr=DEFAULT_lan_ipaddr lan_ipaddr=DEFAULT_lan_ipaddr
NVRAM_lan_netmask=DEFAULT_lan_netmask lan_netmask=DEFAULT_lan_netmask
NVRAM_lan_hwaddr=DEFAULT_lan_hwaddr lan_hwaddr=DEFAULT_lan_hwaddr
NVRAM_wan_ifname="none" wan_ifname="none"
NVRAM_wifi_ifname="none" wifi_ifname="none"
} }