ramips: Add userspace support for the Edimax BR-6475nD
[openwrt.git] / target / linux / ramips / base-files / lib / preinit / 06_set_iface_mac
index 96665bdf7fe674b60233035385e2f7590340e572..d2dc00f8bc840a62903808cecb7e0a22b21116c9 100644 (file)
@@ -39,6 +39,10 @@ preinit_set_mac_address() {
                mac=$(macaddr_setbit_la "$mac")
                ifconfig eth0 hw ether $mac 2>/dev/null
                ;;
+       br-6475nd)
+               mac=$(mtd_get_mac_binary devdata 13)
+               ifconfig eth0 hw ether $mac 2>/dev/null
+               ;;
        asl26555 |\
        dir-300-b1 |\
        dir-300-b2 |\