aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorVitaly Chekryzhev <13hakta@gmail.com>2017-01-05 16:25:59 +0500
committerJo-Philipp Wich <jo@mein.io>2017-04-28 17:07:48 +0200
commita12655a840b7ba86bf23b389671f386ae58f51a8 (patch)
tree2cbe56e8d3bcef63dd67aa32505b6f0f4e17cceb /target/linux
parent94948252e25f96e180e5c4bb7fe928595e3243d2 (diff)
downloadupstream-a12655a840b7ba86bf23b389671f386ae58f51a8.tar.gz
upstream-a12655a840b7ba86bf23b389671f386ae58f51a8.tar.bz2
upstream-a12655a840b7ba86bf23b389671f386ae58f51a8.zip
ramips: ZyXEL Keenetic series update wan mac
Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network4
1 files changed, 3 insertions, 1 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 bcb9509a36..cc092b1639 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -347,8 +347,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)