From 2b6c7164848095a0b1298e107232047dad1a9e33 Mon Sep 17 00:00:00 2001 From: kaloz Date: Fri, 1 Jul 2005 23:17:06 +0000 Subject: add asus wl-300g support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1313 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/target/default/target_skeleton/etc/nvram.overrides | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'openwrt/target') 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" ] && { -- cgit v1.2.3