aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-06-30 16:16:30 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-06-30 17:12:38 +0200
commit0a0caa2656c8db73518a1783743ede772e3ac40f (patch)
tree4d64269f432f454512ab928736b145027ab9fc43 /target/linux/ramips/base-files
parent103ed00cfb370236c3e96e427d5feb643a8d7c8e (diff)
downloadupstream-0a0caa2656c8db73518a1783743ede772e3ac40f.tar.gz
upstream-0a0caa2656c8db73518a1783743ede772e3ac40f.tar.bz2
upstream-0a0caa2656c8db73518a1783743ede772e3ac40f.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>
Diffstat (limited to 'target/linux/ramips/base-files')
-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)
;;