From: Ryan Mounce Date: Thu, 13 Jul 2017 09:11:59 +0000 (+0930) Subject: mvebu: Fix ClearFog sysupgrade board definitions X-Git-Tag: v18.06.0-rc1~2012 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=99cf825b06d08912a14b4ba213700c2a558bf888;p=oweals%2Fopenwrt.git mvebu: Fix ClearFog sysupgrade board definitions Remove redundancy for platform_do_upgrade_clearfog Fix platform_copy_config_clearfog to reflect -base/-pro split Signed-off-by: Ryan Mounce --- diff --git a/target/linux/mvebu/base-files/lib/upgrade/platform.sh b/target/linux/mvebu/base-files/lib/upgrade/platform.sh index 89d884f1bf..8241d1edcf 100755 --- a/target/linux/mvebu/base-files/lib/upgrade/platform.sh +++ b/target/linux/mvebu/base-files/lib/upgrade/platform.sh @@ -16,10 +16,7 @@ platform_do_upgrade() { armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby|armada-xp-linksys-mamba) platform_do_upgrade_linksys "$ARGV" ;; - armada-388-clearfog-pro) - platform_do_upgrade_clearfog "$ARGV" - ;; - armada-388-clearfog-base) + armada-388-clearfog-base|armada-388-clearfog-pro) platform_do_upgrade_clearfog "$ARGV" ;; *) @@ -32,7 +29,7 @@ platform_copy_config() { armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby|armada-xp-linksys-mamba) platform_copy_config_linksys ;; - armada-388-clearfog) + armada-388-clearfog-base|armada-388-clearfog-pro) platform_copy_config_clearfog "$ARGV" ;; esac