[source] ramips: set correct LAN/WAN MAC addresses on DIR-860L B1
LEDE Commits
lede-commits at lists.infradead.org
Thu Jun 30 08:13:00 PDT 2016
neoraider pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=0a0caa2656c8db73518a1783743ede772e3ac40f
commit 0a0caa2656c8db73518a1783743ede772e3ac40f
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Thu Jun 30 16:16:30 2016 +0200
ramips: set correct LAN/WAN MAC addresses on DIR-860L B1
Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
Reviewed-by: Jo-Philipp Wich <jo at mein.io>
---
target/linux/ramips/base-files/etc/board.d/02_network | 4 ++++
1 file changed, 4 insertions(+)
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 dbb5fb4..6157d87 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)
;;
More information about the lede-commits
mailing list