projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5db0b7
)
ar71xx: fix sysupgrade for wnr2200
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 3 Jan 2016 15:12:07 +0000
(15:12 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 3 Jan 2016 15:12:07 +0000
(15:12 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r48005
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48093
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index
ab69e4f
..
8dea48f
100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@
-447,13
+447,20
@@
platform_check_image() {
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