aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorSven Roederer <freifunk@it-solutions.geroedel.de>2019-12-23 01:42:52 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-23 02:24:55 +0100
commiteca05bc4ccbba7d6cc718cdb66cba14c93aff663 (patch)
treee83404182ce9ef4830603694d0116288a8985152 /target/linux
parente4ce3109f28712dad3b3db27938a7b853346d9b6 (diff)
downloadupstream-eca05bc4ccbba7d6cc718cdb66cba14c93aff663.tar.gz
upstream-eca05bc4ccbba7d6cc718cdb66cba14c93aff663.tar.bz2
upstream-eca05bc4ccbba7d6cc718cdb66cba14c93aff663.zip
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>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network4
1 files changed, 1 insertions, 3 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 5c6b5659cb..a3b9c079a6 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
@@ -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)