From: Matthias Schiffer Date: Thu, 30 Jun 2016 14:16:30 +0000 (+0200) Subject: ramips: set correct LAN/WAN MAC addresses on DIR-860L B1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0a0caa2656c8db73518a1783743ede772e3ac40f;p=openwrt%2Fstaging%2Fjogo.git ramips: set correct LAN/WAN MAC addresses on DIR-860L B1 Signed-off-by: Matthias Schiffer Reviewed-by: Jo-Philipp Wich --- diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index dbb5fb43e0..6157d87763 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -286,6 +286,10 @@ ramips_setup_macs() lan_mac=$(mtd_get_mac_ascii nvram lanmac) wan_mac=$(mtd_get_mac_ascii nvram wanmac) ;; + dir-860l-b1) + lan_mac=$(mtd_get_mac_ascii factory lanmac) + wan_mac=$(mtd_get_mac_ascii factory wanmac) + ;; e1700) wan_mac=$(mtd_get_mac_ascii config WAN_MAC_ADDR) ;;