fix nas compatibility and overrides for newer wla2-g54l units

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1181 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Imre Kaloz
2005-06-10 00:58:19 +00:00
parent 24ef2c38cf
commit 0a4f037964
3 changed files with 37 additions and 3 deletions

View File

@@ -51,7 +51,8 @@ remap () {
# hacks for buffalo wla2-g54l
[ "$(nvram get boardnum)" = "00" ] && \
[ "$(nvram get product_name)" = "Product_name" ] && {
[ "$(nvram get product_name)" = "Product_name" ] || \
[ "$(nvram get product_name)" = "WLA2-G54L" ] && {
debug "### wla2-g54l hacks ###"
NVRAM_wan_ifname="none"
NVRAM_lan_ifnames="vlan0"