diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-12-08 15:05:47 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-12-08 17:18:57 +0100 |
commit | 6d4382711a65b5606cc9b815e6590b0e36ebf5b5 (patch) | |
tree | 36e052b6028e469ad0659f73e80b521b9ed672b1 /target/linux/ramips/mt76x8 | |
parent | 89e6cc5c76e675e94c070b920dbe1ff58cfd4436 (diff) | |
download | upstream-6d4382711a65b5606cc9b815e6590b0e36ebf5b5.tar.gz upstream-6d4382711a65b5606cc9b815e6590b0e36ebf5b5.tar.bz2 upstream-6d4382711a65b5606cc9b815e6590b0e36ebf5b5.zip |
ramips: use full names for Xiaomi Mi Router devices
This aligns the device/image names of the older Xiaomi Mi Router
devices with their "friendly" model and DEVICE_MODEL properties.
This also reintroduces consistency with the newer devices already
following that scheme.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt76x8')
-rwxr-xr-x | target/linux/ramips/mt76x8/base-files/etc/board.d/02_network | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network index 6f0078c70a..fcc2630b3f 100755 --- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network @@ -133,7 +133,7 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "0:wan" "3:lan" "4:lan" "6@eth0" ;; - xiaomi,mir4a-100m) + xiaomi,mi-router-4a-100m) ucidef_add_switch "switch0" \ "4:lan:1" "2:lan:2" "0:wan" "6@eth0" ;; @@ -238,8 +238,8 @@ ramips_setup_macs() label_mac=$(mtd_get_mac_binary factory 0x4) wan_mac=$(mtd_get_mac_binary factory 0x28) ;; - xiaomi,mi-router-4c|\ - xiaomi,mir4a-100m) + xiaomi,mi-router-4a-100m|\ + xiaomi,mi-router-4c) wan_mac=$(mtd_get_mac_binary factory 0x4) ;; esac |