local wan_mac=""
case $board in
+ archer-c7-v4)
+ base_mac=$(mtd_get_mac_binary config 8)
+ wan_mac=$(macaddr_add "$base_mac" 1)
+ ;;
dgl-5500-a1|\
dir-825-c1)
wan_mac=$(mtd_get_mac_ascii nvram "wan_mac")
lan_mac=$(mtd_get_mac_binary caldata 0)
wan_mac=$(mtd_get_mac_binary caldata 6)
;;
+ dir-869-a1|\
+ mynet-n750)
+ wan_mac=$(mtd_get_mac_ascii devdata "wanmac")
+ ;;
+ esr900)
+ wan_mac=$(mtd_get_mac_ascii u-boot-env "wanaddr")
+ ;;
fritz300e)
lan_mac=$(fritz_tffs -n maca -i $(find_mtd_part "tffs (1)"))
;;
lan_mac=$(mtd_get_mac_binary product-info 8)
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
- esr900)
- wan_mac=$(mtd_get_mac_ascii u-boot-env "wanaddr")
- ;;
- dir-869-a1|\
- mynet-n750)
- wan_mac=$(mtd_get_mac_ascii devdata "wanmac")
- ;;
wlr8100)
lan_mac=$(mtd_get_mac_ascii u-boot-env "ethaddr")
wan_mac=$(mtd_get_mac_ascii u-boot-env "wanaddr")