Changeset 169


Ignore:
Timestamp:
2004-09-23T08:55:06+02:00 (13 years ago)
Author:
mbm
Message:

fix potential routing issues in failsafe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/obsolete-buildroot/sources/openwrt/root/etc/nvram.overrides

    r158 r169  
    1717  NVRAM_vlan1hwname="et0" 
    1818  NVRAM_vlan2hwname="et0" 
     19  FAILSAFE_ifnames="vlan1 vlan2 eth2" 
    1920 
    2021  remap () { 
     
    2425  for type in lan wifi wan pppoe 
    2526  do 
    26   remap ${type}_ifname 
    27   remap ${type}_ifnames 
     27    remap ${type}_ifname 
     28    remap ${type}_ifnames 
    2829  done 
    2930} 
     
    3435  debug "### wap54g hack ###" 
    3536  NVRAM_wan_ifname="none" 
     37  FAILSAFE_ifnames="eth0 eth1" 
    3638} 
    3739 
     
    5254  echo "### YOU ARE IN FAILSAFE MODE ####" 
    5355  NVRAM_lan_ifname="br0" 
    54   NVRAM_lan_ifnames="vlan0 vlan1 vlan2 eth0 eth1 eth2 eth3" 
     56  NVRAM_lan_ifnames=${FAILSAFE_ifnames:-"vlan0 vlan1 eth1"} 
    5557  NVRAM_lan_ipaddr="192.168.1.1" 
    5658  NVRAM_lan_netmask="255.255.255.0" 
Note: See TracChangeset for help on using the changeset viewer.