aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621/base-files/etc/board.d
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/mt7621/base-files/etc/board.d')
-rw-r--r--target/linux/ramips/mt7621/base-files/etc/board.d/02_network4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
index 342704ee30..0b11c05c84 100644
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
@@ -135,6 +135,10 @@ ramips_setup_macs()
wan_mac=$(mtd_get_mac_ascii u-boot-env wanaddr)
label_mac=$wan_mac
;;
+ iptime,t5004)
+ lan_mac=$(mtd_get_mac_ascii config ethaddr)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ;;
jcg,y2|\
wavlink,wl-wn531a6|\
winstars,ws-wn583a6|\