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 <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
0aab49d234
commit
22e876fdb0
@ -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)")
|
||||
|
Loading…
Reference in New Issue
Block a user