forked from freifunk-franken/firmware
Adrian Schmutzler
46d8b9b8b2
Some MAC adresses were forgotten/not updated in a previous patch. This is fixed now. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Tim Niemeyer <tim@tn-x.org> Reviewed-by: Fabian Bläse <fabian@blaese.de>
18 lines
502 B
Plaintext
18 lines
502 B
Plaintext
PORTORDER="5 4 3 2 1"
|
|
|
|
WANDEV=eth0
|
|
SWITCHDEV=eth0
|
|
CLIENT_PORTS="1 2 0t"
|
|
WAN_PORTS="5 0t"
|
|
BATMAN_PORTS="3 4 0t"
|
|
|
|
. /lib/functions/system.sh
|
|
. /lib/functions/uci-defaults.sh
|
|
. /lib/ar71xx.sh
|
|
|
|
# Load second MAC from Flash because we haven't any Interface with this MAC where we can copy the MAC from
|
|
# https://github.com/lede-project/source/pull/613/files#diff-abd6f42f54204372151e73eac0556db1
|
|
|
|
ETHMESHMAC=$(macaddr_add $(mtd_get_mac_binary product-info 8) 1)
|
|
ROUTERMAC=$(cat /sys/class/net/eth0/address)
|