Author: nbd Date: 2015-12-24 00:42:18 +0100 (Thu, 24 Dec 2015) New Revision: 48005
Modified: trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh Log: ar71xx: fix sysupgrade for wnr2200 Signed-off-by: Felix Fietkau <[email protected]> Modified: trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh =================================================================== --- trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh 2015-12-23 19:26:26 UTC (rev 48004) +++ trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh 2015-12-23 23:42:18 UTC (rev 48005) @@ -479,13 +479,20 @@ fi return 0 ;; - wnr2000-v4) + wnr2000-v4) [ "$magic_long" != "32303034" ] && { echo "Invalid image type." return 1 } return 0 ;; + wnr2200) + [ "$magic_long" != "32323030" ] && { + echo "Invalid image type." + return 1 + } + return 0 + ;; esac _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
