ramips: add label MAC address for EPG600 and ESR600
authorMichael Pratt <mcpratt@pm.me>
Tue, 27 Apr 2021 21:41:31 +0000 (17:41 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 18 Feb 2023 15:55:35 +0000 (16:55 +0100)
set label mac for the current ESR600 and new EPG600
using the board.d scripts

Signed-off-by: Michael Pratt <mcpratt@pm.me>
target/linux/ramips/mt7620/base-files/etc/board.d/02_network

index a55a8ed356eab85479a037f9c6eb0ace4a880960..992d8a9c40c1ae2e315ed16212c56f5139df8b0d 100644 (file)
@@ -337,6 +337,7 @@ ramips_setup_macs()
        engenius,esr600)
                lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr)
                wan_mac=$(mtd_get_mac_ascii u-boot-env wanaddr)
+               label_mac=$wan_mac
                ;;
        glinet,gl-mt300a|\
        glinet,gl-mt300n|\