aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-07-04 13:26:57 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-07-04 13:26:57 +0200
commit605dcfba31be60e66bef93508237c3322bf280ae (patch)
treef45e3624ddd00934f0473e37ad0b960707c2abad
parentd55cbdcc8691daf610c3f2ea7e9d4d00a04c806b (diff)
downloadmaster-187ad058-605dcfba31be60e66bef93508237c3322bf280ae.tar.gz
master-187ad058-605dcfba31be60e66bef93508237c3322bf280ae.tar.bz2
master-187ad058-605dcfba31be60e66bef93508237c3322bf280ae.zip
ramips: set correct LAN/WAN MAC addresses on DIR-860L B1
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Reviewed-by: Jo-Philipp Wich <jo@mein.io>
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network4
1 files changed, 4 insertions, 0 deletions
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)
;;