add asus wl-300g support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1313 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
1c3be046b9
commit
316135b9b7
|
@ -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" ] && {
|
||||||
|
|
Loading…
Reference in New Issue