aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-09-22 12:01:35 +0200
committerChuanhong Guo <gch981213@gmail.com>2019-09-25 14:44:36 +0800
commit7b8b4197d2a5a5ad532571392da65d59a61186d7 (patch)
treebea2e71bff59553724f45e99bead0d00fa998b2c /target/linux
parent12ab6ef5c377e9d4aa8f0758ca92056da7eea0bf (diff)
downloadupstream-7b8b4197d2a5a5ad532571392da65d59a61186d7.tar.gz
upstream-7b8b4197d2a5a5ad532571392da65d59a61186d7.tar.bz2
upstream-7b8b4197d2a5a5ad532571392da65d59a61186d7.zip
ramips: initialize youhua, wr1200js WAN MAC addresses from flash
This patch changes wan MAC address setup for youhua,wr1200js from retrieving it by calculation to reading it from flash. This has been checked on-device. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
1 files changed, 1 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 d485010e3a..23cb057d70 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -563,6 +563,7 @@ ramips_setup_macs()
phicomm,k2p|\
planex,vr500|\
samknows,whitebox-v8|\
+ youhua,wr1200js|\
youku,yk-l2|\
zbtlink,zbt-we3526)
wan_mac=$(mtd_get_mac_binary factory 0xe006)