diff options
author | Vitaly Chekryzhev <13hakta@gmail.com> | 2017-01-05 16:25:59 +0500 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-01-20 00:39:30 +0100 |
commit | 07a02efd07ad7b13aae6d58d55a53fcecbe691d5 (patch) | |
tree | f786da779ca3bcbc315499ef79816b5c593268ba /target | |
parent | 65985e9aced42c86d11c98776fe9d73ca427a2ae (diff) | |
download | openwrt-07a02efd07ad7b13aae6d58d55a53fcecbe691d5.tar.gz openwrt-07a02efd07ad7b13aae6d58d55a53fcecbe691d5.tar.bz2 openwrt-07a02efd07ad7b13aae6d58d55a53fcecbe691d5.zip |
ramips: ZyXEL Keenetic series update wan mac
Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
Diffstat (limited to 'target')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 4 |
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 fe00fc4b67..91f1aaacbe 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) |