ramips: add support for Sitecom WL-341v3 and other Sercomm IP1006RRv2 boards
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / preinit / 06_set_iface_mac
index 9a4d515b19bc9b1c8c946f54da5e0f2d83fdcf5f..f6884c847788b640115b329ad4c1fbac37f6ee56 100644 (file)
@@ -29,6 +29,10 @@ preinit_set_mac_address() {
                mac=$(ramips_get_mac_binary factory 40)
                ifconfig eth0 hw ether $mac 2>/dev/null
                ;;
+       wl341v3)
+               mac=$(ramips_get_mac_binary board-nvram 65440)
+               ifconfig eth0 hw ether $mac 2>/dev/null
+               ;;
        esac
 }