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