diff options
author | Sven Roederer <freifunk@it-solutions.geroedel.de> | 2019-12-23 01:42:52 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-12-23 02:24:55 +0100 |
commit | eca05bc4ccbba7d6cc718cdb66cba14c93aff663 (patch) | |
tree | e83404182ce9ef4830603694d0116288a8985152 | |
parent | e4ce3109f28712dad3b3db27938a7b853346d9b6 (diff) | |
download | openwrt-eca05bc4ccbba7d6cc718cdb66cba14c93aff663.tar.gz openwrt-eca05bc4ccbba7d6cc718cdb66cba14c93aff663.tar.bz2 openwrt-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>
-rwxr-xr-x | target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 4 |
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) |