From: Gabor Juhos Date: Fri, 1 Feb 2013 15:50:47 +0000 (+0000) Subject: ar71xx: add sysupgrade support for OpenMesh MR600v2 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=979676ffcc9fc932952caaed06238f7b122e9294;p=openwrt%2Fstaging%2Fmkresin.git ar71xx: add sysupgrade support for OpenMesh MR600v2 Signed-off-by: Marek Lindner Signed-off-by: Gabor Juhos SVN-Revision: 35430 --- diff --git a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh index ccce81174e..2575b0a7f0 100644 --- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh @@ -64,6 +64,7 @@ platform_check_image_openmesh() ;; MR600) [ "$board" = "mr600" ] && break + [ "$board" = "mr600v2" ] && break echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform" return 1 ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index a39c970c51..c16d184e73 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -145,6 +145,7 @@ platform_check_image() { ;; mr600 | \ + mr600v2 | \ om2p | \ om2p-hs | \ om2p-lc) @@ -284,6 +285,7 @@ platform_do_upgrade() { platform_do_upgrade_dir825b "$ARGV" ;; mr600 | \ + mr600v2 | \ om2p | \ om2p-hs | \ om2p-lc)