diff options
Diffstat (limited to 'target/linux/ath79/base-files')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index 3282d8ad90..d60406e163 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -120,6 +120,10 @@ ath79_setup_macs() lan_mac=$(k2t_get_mac "lan_mac") wan_mac=$(k2t_get_mac "wan_mac") ;; + "tplink,tl-wr1043nd-v4") + base_mac=$(mtd_get_mac_binary product-info 8) + wan_mac=$(macaddr_add "$base_mac" 1) + ;; esac [ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" $lan_mac |