[source] ramips: ZyXEL Keenetic series update wan mac

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 20 01:00:59 PST 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/07a02efd07ad7b13aae6d58d55a53fcecbe691d5

commit 07a02efd07ad7b13aae6d58d55a53fcecbe691d5
Author: Vitaly Chekryzhev <13hakta at gmail.com>
AuthorDate: Thu Jan 5 16:25:59 2017 +0500

    ramips: ZyXEL Keenetic series update wan mac
    
    Signed-off-by: Vitaly Chekryzhev <13hakta at gmail.com>
---
 target/linux/ramips/base-files/etc/board.d/02_network | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 fe00fc4..91f1aaa 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -346,8 +346,10 @@ ramips_setup_macs()
 		[ -n "$lan_mac" ] || lan_mac=$(cat /sys/class/net/eth0/address)
 		wan_mac=$(macaddr_add "$lan_mac" 1)
 		;;
+	kn_rc|\
+	kn_rf|\
 	kng_rc)
-		wan_mac=$(mtd_get_mac_binary factory 28)
+		wan_mac=$(mtd_get_mac_binary factory 40)
 		;;
 	linkits7688 | \
 	linkits7688d)



More information about the lede-commits mailing list