forked from freifunk-franken/firmware
In the latest release, OpenWrt provides the label MAC address for many devices. All of our devices should be covered. In can be retrieved by the function get_mac_label from /lib/functions/system.sh Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Fabian Bläse <fabian@blaese.de>
10 lines
189 B
Plaintext
10 lines
189 B
Plaintext
WANDEV=eth0
|
|
SWITCHDEV=eth0
|
|
CLIENT_PORTS="0t 4 5"
|
|
WAN_PORTS="0t 1"
|
|
BATMAN_PORTS="0t 2 3"
|
|
|
|
. /lib/functions/system.sh
|
|
|
|
ETHMESHMAC=$(macaddr_add $(cat /sys/class/ieee80211/phy1/macaddress) 1)
|