aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorLuis Araneda <luaraneda@gmail.com>2018-01-05 10:11:16 -0300
committerMathias Kresin <dev@kresin.me>2018-01-13 07:33:03 +0100
commit7293499f719d73ffaeb61011d077e84d309b0f25 (patch)
tree0f5a502160b6ebff268589609d0136d247dba820 /target/linux/ipq806x/base-files/lib/upgrade/platform.sh
parent33f09cf15178cf7e05cbe816e1cb492bcae89836 (diff)
downloadupstream-7293499f719d73ffaeb61011d077e84d309b0f25.tar.gz
upstream-7293499f719d73ffaeb61011d077e84d309b0f25.tar.bz2
upstream-7293499f719d73ffaeb61011d077e84d309b0f25.zip
ipq806x: Sort occurrences of boardame alphabetically
This restores the alphabetical sort that was present before the renaming of boardname. Signed-off-by: Luis Araneda <luaraneda@gmail.com>
Diffstat (limited to 'target/linux/ipq806x/base-files/lib/upgrade/platform.sh')
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/platform.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
index dc88c9ed09..f71ee37d99 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
@@ -10,6 +10,9 @@ platform_check_image() {
platform_do_upgrade() {
case "$(board_name)" in
+ linksys,ea8500)
+ platform_do_upgrade_linksys "$ARGV"
+ ;;
netgear,d7800 |\
netgear,r7500 |\
netgear,r7500v2 |\
@@ -24,9 +27,6 @@ platform_do_upgrade() {
MTD_CONFIG_ARGS="-s 0x200000"
default_do_upgrade "$ARGV"
;;
- linksys,ea8500)
- platform_do_upgrade_linksys "$ARGV"
- ;;
tplink,vr2600v)
PART_NAME="kernel:rootfs"
MTD_CONFIG_ARGS="-s 0x200000"