From: Leon M. George Date: Fri, 9 Jun 2017 16:30:47 +0000 (+0200) Subject: ar71xx: wpj344: set MAC on wan X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3e12ca2355529e51d50038d06dbac79315470b3d;p=openwrt%2Fstaging%2Fblogic.git ar71xx: wpj344: set MAC on wan Signed-off-by: Leon M. George --- diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 9ff6dddd3211..709030ceb354 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -532,6 +532,9 @@ ar71xx_setup_macs() mynet-n750) wan_mac=$(mtd_get_mac_ascii devdata "wanmac") ;; + wpj344) + wan_mac=$(mtd_get_mac_binary u-boot 0x2e018) + ;; esac [ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" $lan_mac