apm821xx: convert to device-tree board detection
[openwrt/openwrt.git] / target / linux / apm821xx / base-files / lib / preinit / 05_set_iface_mac_apm821xx
index ec540feb846568819c6459fd5adc03e4fc9e9c5b..1a27930d24fef97a2ebd22b1c4afae98a10fd1b7 100644 (file)
@@ -4,8 +4,8 @@ preinit_set_mac_address() {
        . /lib/functions.sh
 
        case $(board_name) in
-               mr24|\
-               mx60)
+               meraki,mr24|\
+               meraki,mx60)
                        mac_lan=$(mtd_get_mac_binary_ubi board-config 102)
                        [ -n "$mac_lan" ] && ifconfig eth0 hw ether "$mac_lan"
                        ;;