2017-10-20 15:04:51 +02:00
|
|
|
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
|
2020-03-12 19:12:38 +01:00
|
|
|
. /lib/functions.sh
|
2017-10-20 15:04:51 +02:00
|
|
|
|
2020-03-12 19:12:38 +01:00
|
|
|
# Load second MAC address from flash because we haven't any interface with this
|
|
|
|
# address where we can copy it from
|
2017-10-20 15:04:51 +02:00
|
|
|
|
2017-11-04 00:21:29 +01:00
|
|
|
ETHMESHMAC=$(macaddr_add $(mtd_get_mac_binary product-info 8) 1)
|
|
|
|
ROUTERMAC=$(cat /sys/class/net/eth0/address)
|