ip link set dev sw-eth1 address "$base_mac"
ip link set dev sw-eth2 address $(macaddr_add "$base_mac" 1)
;;
+ teltonika,rutx50)
+ # Vendor Bootloader removes nvmem-cells from partition,
+ # so this needs to be done here.
+ base_mac="$(mtd_get_mac_binary 0:CONFIG 0x0)"
+ ip link set dev eth0 address "$base_mac"
+ ip link set dev lan1 address "$base_mac"
+ ip link set dev lan2 address "$base_mac"
+ ip link set dev lan3 address "$base_mac"
+ ip link set dev lan4 address "$base_mac"
+ ip link set dev wan address "$(macaddr_add "$base_mac" 1)"
+ ;;
zyxel,nbg6617)
base_mac=$(cat /sys/class/net/eth0/address)
ip link set dev eth0 address $(macaddr_add "$base_mac" 2)