aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Pratt <mcpratt@pm.me>2021-04-27 17:41:31 -0400
committerHauke Mehrtens <hauke@hauke-m.de>2023-02-18 16:55:35 +0100
commit6f6d24a00ad43d82a52580d2610a1fd90cedd60a (patch)
tree750cdb04750c316c828455474c6f091239b0f73b
parent4ef86c620f03b3b8b3220d11f77948e7a10469d8 (diff)
downloadupstream-6f6d24a00ad43d82a52580d2610a1fd90cedd60a.tar.gz
upstream-6f6d24a00ad43d82a52580d2610a1fd90cedd60a.tar.bz2
upstream-6f6d24a00ad43d82a52580d2610a1fd90cedd60a.zip
ramips: add label MAC address for EPG600 and ESR600
set label mac for the current ESR600 and new EPG600 using the board.d scripts Signed-off-by: Michael Pratt <mcpratt@pm.me>
-rw-r--r--target/linux/ramips/mt7620/base-files/etc/board.d/02_network1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
index a55a8ed356..992d8a9c40 100644
--- a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
@@ -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|\