ramips: add Poray X8 support
[openwrt.git] / target / linux / ramips / base-files / lib / preinit / 06_set_iface_mac
index f9aabd5..6712154 100644 (file)
@@ -76,7 +76,9 @@ preinit_set_mac_address() {
                ifconfig eth0 hw ether $mac 2>/dev/null
                ;;
        m3 |\
-       m4)
+       m4 |\
+       x5 |\
+       x8)
                mac=$(mtd_get_mac_binary factory 4)
                mac=$(macaddr_add "$mac" -1)
                ifconfig eth0 hw ether $mac 2>/dev/null