[openwrt/openwrt] ramips: add label MAC address for EPG600 and ESR600

LEDE Commits lede-commits at lists.infradead.org
Sat Feb 18 07:57:17 PST 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6f6d24a00ad43d82a52580d2610a1fd90cedd60a

commit 6f6d24a00ad43d82a52580d2610a1fd90cedd60a
Author: Michael Pratt <mcpratt at pm.me>
AuthorDate: Tue Apr 27 17:41:31 2021 -0400

    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 at pm.me>
---
 target/linux/ramips/mt7620/base-files/etc/board.d/02_network | 1 +
 1 file changed, 1 insertion(+)

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|\




More information about the lede-commits mailing list