add asus wl-300g support

SVN-Revision: 1313
owl
Imre Kaloz 2005-07-01 23:17:06 +00:00
parent c85f0c7b72
commit f68e180ae8
1 changed files with 7 additions and 0 deletions

View File

@ -41,6 +41,13 @@ remap () {
remap eth0 vlan1 remap eth0 vlan1
} }
# hacks for asus wl-300g
[ "$(nvram get productid)" = "WL300g" ] && {
debug "### wl-300g hacks ###"
NVRAM_lan_ifnames="eth0 eth2"
NVRAM_wan_ifname="none"
}
# hacks for wap54g hardware # hacks for wap54g hardware
[ "$(nvram get boardnum)" = "2" ] || \ [ "$(nvram get boardnum)" = "2" ] || \
[ "$(nvram get boardnum)" = "1024" ] && { [ "$(nvram get boardnum)" = "1024" ] && {