X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b817a981c1d8347d8304d837ac4b9329a5b56a40..a64cf0adff673a21bce78cafb2e3ec15b59faec7:/openwrt/target/default/target_skeleton/etc/nvram.overrides diff --git a/openwrt/target/default/target_skeleton/etc/nvram.overrides b/openwrt/target/default/target_skeleton/etc/nvram.overrides index 533edadae..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" ] && { @@ -51,7 +58,8 @@ remap () { # hacks for buffalo wla2-g54l [ "$(nvram get boardnum)" = "00" ] && \ -[ "$(nvram get product_name)" = "Product_name" ] && { +[ "$(nvram get product_name)" = "Product_name" ] || \ +[ "$(nvram get product_name)" = "WLA2-G54L" ] && { debug "### wla2-g54l hacks ###" NVRAM_wan_ifname="none" NVRAM_lan_ifnames="vlan0"