aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621/base-files
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-12-08 15:05:47 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-12-08 17:18:57 +0100
commit6d4382711a65b5606cc9b815e6590b0e36ebf5b5 (patch)
tree36e052b6028e469ad0659f73e80b521b9ed672b1 /target/linux/ramips/mt7621/base-files
parent89e6cc5c76e675e94c070b920dbe1ff58cfd4436 (diff)
downloadupstream-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/mt7621/base-files')
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network6
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh4
2 files changed, 5 insertions, 5 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 fccd9c6985..c5b35145f1 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
@@ -16,8 +16,8 @@ ramips_setup_interfaces()
asiarf,ap7621-nv1|\
lenovo,newifi-d1|\
mikrotik,routerboard-m33g|\
- xiaomi,mir3g|\
- xiaomi,mir3g-v2|\
+ xiaomi,mi-router-3g|\
+ xiaomi,mi-router-3g-v2|\
xiaomi,mi-router-4a-gigabit)
ucidef_set_interfaces_lan_wan "lan1 lan2" "wan"
;;
@@ -33,8 +33,8 @@ ramips_setup_interfaces()
;;
gehua,ghl-r-001|\
hiwifi,hc5962|\
+ xiaomi,mi-router-3-pro|\
xiaomi,mi-router-ac2100|\
- xiaomi,mir3p|\
xiaomi,redmi-router-ac2100)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan"
;;
diff --git a/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh b/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh
index b4d07f8146..c68b012d0b 100755
--- a/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh
@@ -61,9 +61,9 @@ platform_do_upgrade() {
netgear,wac104|\
netgear,wac124|\
netis,wf2881|\
+ xiaomi,mi-router-3g|\
+ xiaomi,mi-router-3-pro|\
xiaomi,mi-router-ac2100|\
- xiaomi,mir3g|\
- xiaomi,mir3p|\
xiaomi,redmi-router-ac2100)
nand_do_upgrade "$1"
;;