summaryrefslogtreecommitdiffstats
path: root/openwrt/target/default
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/default')
-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 f58f7ed7e..001a61329 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" ] && {