From 6d4382711a65b5606cc9b815e6590b0e36ebf5b5 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Tue, 8 Dec 2020 15:05:47 +0100 Subject: 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 --- target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 6 +++--- target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'target/linux/ramips/mt7621') 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" ;; -- cgit v1.2.3