ar71xx: add sysupgrade support for OpenMesh OM2Pv2
authorJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 13:21:07 +0000 (13:21 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 13:21:07 +0000 (13:21 +0000)
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 40957

target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index dfec1336fcdb28aaed4dee5d4a26b767333fecc7..c7583bae6e5d6157dbff25836543897d4f56f7bd 100755 (executable)
@@ -213,6 +213,7 @@ platform_check_image() {
        mr600 | \
        mr600v2 | \
        om2p | \
+       om2pv2 | \
        om2p-hs | \
        om2p-lc)
                platform_check_image_openmesh "$magic_long" "$1" && return 0
@@ -370,6 +371,7 @@ platform_do_upgrade() {
        mr600 | \
        mr600v2 | \
        om2p | \
+       om2pv2 | \
        om2p-hs | \
        om2p-lc)
                platform_do_upgrade_openmesh "$ARGV"