summaryrefslogtreecommitdiffstats
path: root/target/default/target_skeleton
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-01 23:17:06 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-01 23:17:06 +0000
commite42656888447c988ae2968e4888ae93136267101 (patch)
tree3be275c14d0a93eddfa4635223f9cd098f833e2f /target/default/target_skeleton
parenta8a68dc45f5c9a8f0e9576b413c9c253fb7313b5 (diff)
add asus wl-300g support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1313 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/default/target_skeleton')
-rw-r--r--target/default/target_skeleton/etc/nvram.overrides7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/default/target_skeleton/etc/nvram.overrides b/target/default/target_skeleton/etc/nvram.overrides
index f58f7ed7e..001a61329 100644
--- a/target/default/target_skeleton/etc/nvram.overrides
+++ b/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" ] && {