diff options
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index a3f376e6ac..fe66a87c2e 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -286,6 +286,9 @@ ramips_board_detect() { *"Mercury MAC1200R v2") name="mac1200rv2" ;; + *"Mi Router 3G") + name="mir3g" + ;; *"MicroWRT") name="microwrt" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 8977381c86..3cb1d19a28 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -251,6 +251,7 @@ platform_check_image() { return 0 ;; hc5962|\ + mir3g|\ r6220) # these boards use metadata images return 0 @@ -297,6 +298,7 @@ platform_do_upgrade() { case "$board" in hc5962|\ + mir3g|\ r6220|\ ubnt-erx|\ ubnt-erx-sfp) |