diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-09-17 13:03:18 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-09-17 13:03:18 +0200 |
commit | 6e170ffb96ea1ec4c1160209b2c1b1c0274cdf55 (patch) | |
tree | 96dcba0096eeeb580c11f2a817e9fc5d8466274b /target/linux/ipq806x/base-files | |
parent | 0b1cdb7eea1a2d53da2e97eaaa4ac27b518f8171 (diff) | |
download | upstream-6e170ffb96ea1ec4c1160209b2c1b1c0274cdf55.tar.gz upstream-6e170ffb96ea1ec4c1160209b2c1b1c0274cdf55.tar.bz2 upstream-6e170ffb96ea1ec4c1160209b2c1b1c0274cdf55.zip |
ipq806x: sort entries in lib/upgrade/platform.sh
Apply alphabetic sorting like in the other files.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ipq806x/base-files')
-rw-r--r-- | target/linux/ipq806x/base-files/lib/upgrade/platform.sh | 6 |
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 91cc4548f5..f61e8ee878 100644 --- a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh +++ b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh @@ -24,9 +24,6 @@ platform_do_upgrade() { qcom,ipq8064-ap161) nand_do_upgrade "$1" ;; - zyxel,nbg6817) - zyxel_do_upgrade "$1" - ;; edgecore,ecw5410) part="$(awk -F 'ubi.mtd=' '{printf $2}' /proc/cmdline | sed -e 's/ .*$//')" if [ "$part" = "rootfs1" ]; then @@ -52,6 +49,9 @@ platform_do_upgrade() { MTD_CONFIG_ARGS="-s 0x200000" default_do_upgrade "$1" ;; + zyxel,nbg6817) + zyxel_do_upgrade "$1" + ;; *) default_do_upgrade "$1" ;; |