summaryrefslogtreecommitdiff
path: root/openwrt/target/default/target_skeleton
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2005-06-10 00:58:19 +0000
committerImre Kaloz <kaloz@openwrt.org>2005-06-10 00:58:19 +0000
commite091c662cc4a7d80f40dd6c92f93eeafbcabd746 (patch)
treedd9baeb45376389b0bc47e3eb111e2323dbbf346 /openwrt/target/default/target_skeleton
parent9108389d743ae3ac6b2fc0998458a5ecb996aaa4 (diff)
downloadmtk-20170518-e091c662cc4a7d80f40dd6c92f93eeafbcabd746.zip
mtk-20170518-e091c662cc4a7d80f40dd6c92f93eeafbcabd746.tar.gz
mtk-20170518-e091c662cc4a7d80f40dd6c92f93eeafbcabd746.tar.bz2
fix nas compatibility and overrides for newer wla2-g54l units
SVN-Revision: 1181
Diffstat (limited to 'openwrt/target/default/target_skeleton')
-rw-r--r--openwrt/target/default/target_skeleton/etc/nvram.overrides3
1 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/target/default/target_skeleton/etc/nvram.overrides b/openwrt/target/default/target_skeleton/etc/nvram.overrides
index 533edad..f58f7ed 100644
--- a/openwrt/target/default/target_skeleton/etc/nvram.overrides
+++ b/openwrt/target/default/target_skeleton/etc/nvram.overrides
@@ -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"