ar71xx: backport nanostation m sysupgrade fix from r22370
authorFelix Fietkau <nbd@openwrt.org>
Fri, 23 Jul 2010 18:17:41 +0000 (18:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 23 Jul 2010 18:17:41 +0000 (18:17 +0000)
SVN-Revision: 22371

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

index a6ffa4f2627b748227a6fa5e68fd3741b2859e56..1076bdea8cef997ab257450b011e3dd9edd2574e 100755 (executable)
@@ -68,7 +68,7 @@ platform_check_image() {
        [ "$ARGC" -gt 1 ] && return 1
 
        case "$board" in
-       ap81 | ap83 | dir-600-a1 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt400n | bullet-m | nano-m | rocket-m | wzr-hp-g300nh)
+       ap81 | ap83 | dir-600-a1 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt400n | bullet-m | nanostation-m | rocket-m | wzr-hp-g300nh )
                [ "$magic" != "2705" ] && {
                        echo "Invalid image type."
                        return 1