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 NEWMAC=$(macaddr_add $(mtd_get_mac_binary product-info 8) 1) ETHMESHMAC=1 ROUTERMAC=eth0