From: Imre Kaloz Date: Fri, 1 Jul 2005 23:17:06 +0000 (+0000) Subject: add asus wl-300g support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f68e180ae8299e6c0889871c555a58318e50eeda;p=openwrt%2Fstaging%2Fsvanheule.git add asus wl-300g support SVN-Revision: 1313 --- diff --git a/openwrt/target/default/target_skeleton/etc/nvram.overrides b/openwrt/target/default/target_skeleton/etc/nvram.overrides index f58f7ed7e6..001a61329e 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" ] && {