summaryrefslogtreecommitdiffstats
path: root/target/default/target_skeleton
diff options
context:
space:
mode:
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" ] && {