aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-07-14 15:00:36 +0000
committerImre Kaloz <kaloz@openwrt.org>2014-07-14 15:00:36 +0000
commit6f5a9debed74f63bc34f569958b4a97d529755fb (patch)
treec5ffeb30a2332afe71fe311722e5723197bdcd64 /target/linux/mvebu/base-files/lib/upgrade/platform.sh
parentecb68ba6b40ff2d6be88eda967a9d0deff5935f6 (diff)
downloadupstream-6f5a9debed74f63bc34f569958b4a97d529755fb.tar.gz
upstream-6f5a9debed74f63bc34f569958b4a97d529755fb.tar.bz2
upstream-6f5a9debed74f63bc34f569958b4a97d529755fb.zip
handle sysupgrade tar files on the WRT1900AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41647
Diffstat (limited to 'target/linux/mvebu/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/mvebu/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/base-files/lib/upgrade/platform.sh b/target/linux/mvebu/base-files/lib/upgrade/platform.sh
index 532f598e4f..f5e44c357a 100755
--- a/target/linux/mvebu/base-files/lib/upgrade/platform.sh
+++ b/target/linux/mvebu/base-files/lib/upgrade/platform.sh
@@ -14,7 +14,7 @@ platform_check_image() {
case "$board" in
armada-xp-mamba )
- [ "$magic_long" != "27051956" ] && {
+ [ "$magic_long" != "27051956" -a "$magic_long" != "73797375" ] && {
echo "Invalid image type."
return 1
}