aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips')
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network5
1 files changed, 4 insertions, 1 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 2828cf67dc..2447ff8a8d 100755
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
@@ -220,9 +220,12 @@ ramips_setup_macs()
mediatek,ap-mt7621a-v60)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x5)" 1)
;;
- mikrotik,rb750gr3|\
+ mikrotik,rb750gr3)
+ wan_mac=$(macaddr_add "$(mtd_get_mac_binary hard_config 0x10)" 2)
+ ;;
mikrotik,rbm33g)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary hard_config 0x10)" 2)
+ label_mac=$(mtd_get_mac_binary hard_config 0x10)
;;
netgear,r6260|\
netgear,r6350|\