From 22e876fdb06666d25f71d593a0af2641c1c4c96a Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Fri, 27 Sep 2019 13:23:30 +0200 Subject: [PATCH] ramips: add label MAC address for Asus RT-AC85P The label shows the MAC address of 2.4 GHz WiFi. Signed-off-by: Adrian Schmutzler --- target/linux/ramips/base-files/etc/board.d/02_network | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index ae05c827bc..25aa075093 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -564,6 +564,7 @@ ramips_setup_macs() ;; asus,rt-ac85p) wan_mac=$(mtd_get_mac_ascii u-boot-env et1macaddr) + label_mac=$(cat /sys/class/ieee80211/phy0/macaddress) ;; asus,rt-n56u) lan_mac=$(macaddr_setbit_la "$(cat /sys/class/net/eth0/address)") -- 2.30.2