add asus wl-300g support
[openwrt-10.03/.git] / target / default / target_skeleton / etc / nvram.overrides
index f58f7ed7e651ca03b3d01bf554b1239d91017b6f..001a61329e1ab752246e56d008a8a49dcfe91fef 100644 (file)
@@ -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" ] && {