ar71xx: enable sysupgrade on the AP96 and DB120 boards
authorGabor Juhos <juhosg@openwrt.org>
Thu, 4 Aug 2011 19:41:18 +0000 (19:41 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 4 Aug 2011 19:41:18 +0000 (19:41 +0000)
SVN-Revision: 27901

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

index 8fa2a4254cba665b8b9563f9d7c1a8adb86a8328..4becfaf8986cccc38f50384f3875a6633c4f8ac9 100755 (executable)
@@ -69,7 +69,7 @@ platform_check_image() {
        [ "$ARGC" -gt 1 ] && return 1
 
        case "$board" in
-       ap121 | ap121-mini | zcn-1523h-2 | zcn-1523h-5)
+       ap121 | ap121-mini | ap96 | db120 | zcn-1523h-2 | zcn-1523h-5)
                [ "$magic" != "68737173" -a "$magic" != "19852003" ] && {
                        echo "Invalid image type."
                        return 1