summaryrefslogtreecommitdiff
path: root/openwrt/target/default/target_skeleton
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2005-07-01 23:17:06 +0000
committerImre Kaloz <kaloz@openwrt.org>2005-07-01 23:17:06 +0000
commitf68e180ae8299e6c0889871c555a58318e50eeda (patch)
tree6481cd7901584421be980f45e40ce78d4d47b8de /openwrt/target/default/target_skeleton
parentc85f0c7b72b926c260e16fc0035a1cb794bb9f8c (diff)
downloadmtk-20170518-f68e180ae8299e6c0889871c555a58318e50eeda.zip
mtk-20170518-f68e180ae8299e6c0889871c555a58318e50eeda.tar.gz
mtk-20170518-f68e180ae8299e6c0889871c555a58318e50eeda.tar.bz2
add asus wl-300g support
SVN-Revision: 1313
Diffstat (limited to 'openwrt/target/default/target_skeleton')
-rw-r--r--openwrt/target/default/target_skeleton/etc/nvram.overrides7
1 files changed, 7 insertions, 0 deletions
diff --git a/openwrt/target/default/target_skeleton/etc/nvram.overrides b/openwrt/target/default/target_skeleton/etc/nvram.overrides
index f58f7ed..001a613 100644
--- a/openwrt/target/default/target_skeleton/etc/nvram.overrides
+++ b/openwrt/target/default/target_skeleton/etc/nvram.overrides
@@ -41,6 +41,13 @@ remap () {
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
[ "$(nvram get boardnum)" = "2" ] || \
[ "$(nvram get boardnum)" = "1024" ] && {