From: Adrian Schmutzler Date: Fri, 27 Sep 2019 11:23:30 +0000 (+0200) Subject: ramips: add label MAC address for Asus RT-AC85P X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=22e876fdb06666d25f71d593a0af2641c1c4c96a;p=oweals%2Fopenwrt.git 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 --- 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)")