openwrt/target/linux/ath79/generic/base-files/etc
Adrian Schmutzler d421a8b944 ath79: read label MAC address from flash instead of using phy0/phy1
This replaces all uses of $(cat /sys/class/ieee80211/phyX/macaddress)
by retrieval from the proper flash locations. This will make
02_network independent of WiFi setup again.

For future reference:

The MAC addresses of the FRITZ!WLAN Repeater 300E can be extracted
from the urlader key value store:

maca        *:6B
macb        *:6C
macwlan     *:6D
macdsl      *:6E

and be set by e.g.
addr=$(fritz_tffs -n maca -i $(find_mtd_part "tffs (1)"))

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-11-13 12:55:25 +01:00
..
board.d ath79: read label MAC address from flash instead of using phy0/phy1 2019-11-13 12:55:25 +01:00
hotplug.d ath79: fix identifier for Nanostation M in ath9k caldata extraction 2019-11-11 00:33:34 +01:00
init.d ath79: split base-files into subtargets 2019-10-27 14:24:22 +01:00
uci-defaults ath79: split base-files into subtargets 2019-10-27 14:24:22 +01:00