ramips: read label MAC address from flash instead of using phy0/phy1
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 10 Nov 2019 23:18:45 +0000 (00:18 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 13 Nov 2019 11:51:38 +0000 (12:51 +0100)
commitf4c3cfc620db16484fd85570c8215abc3b36dc82
tree6a31d02f90eba7bc0dd02bd83b9c807b61a03a43
parent4b81c1fd570c61ca7bafa5baf750e7364bd8117f
ramips: 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.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ramips/mt7620/base-files/etc/board.d/02_network
target/linux/ramips/mt7621/base-files/etc/board.d/02_network
target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
target/linux/ramips/rt305x/base-files/etc/board.d/02_network