mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-15 15:07:11 +00:00
ramips: add label MAC address for Mikrotik RB750Gr3
The device label contains: E01: 74:4D:28:xx:xx:30 E05: 74:4D:28:xx:xx:34 The first value corresponds to the address set in hard_config 0x10. That one is taken for the label MAC address. Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
This commit is contained in:
parent
e4ce3109f2
commit
eca05bc4cc
@ -230,9 +230,7 @@ ramips_setup_macs()
|
||||
mediatek,ap-mt7621a-v60)
|
||||
wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x5)" 1)
|
||||
;;
|
||||
mikrotik,rb750gr3)
|
||||
wan_mac=$(macaddr_add "$(mtd_get_mac_binary hard_config 0x10)" 2)
|
||||
;;
|
||||
mikrotik,rb750gr3|\
|
||||
mikrotik,rbm33g)
|
||||
wan_mac=$(macaddr_add "$(mtd_get_mac_binary hard_config 0x10)" 2)
|
||||
label_mac=$(mtd_get_mac_binary hard_config 0x10)
|
||||
|
Loading…
x
Reference in New Issue
Block a user