treewide: convert MAC address location offsets to hexadecimal
[openwrt/staging/mkresin.git] / target / linux / apm821xx / base-files / lib / preinit / 05_set_iface_mac_apm821xx
index 1a27930d24fef97a2ebd22b1c4afae98a10fd1b7..11955dd5a2660016b9ca17a92fa1573cbc8210d6 100644 (file)
@@ -6,7 +6,7 @@ preinit_set_mac_address() {
        case $(board_name) in
                meraki,mr24|\
                meraki,mx60)
-                       mac_lan=$(mtd_get_mac_binary_ubi board-config 102)
+                       mac_lan=$(mtd_get_mac_binary_ubi board-config 0x66)
                        [ -n "$mac_lan" ] && ifconfig eth0 hw ether "$mac_lan"
                        ;;
        esac