summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-28 08:25:56 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-28 08:25:56 +0000
commit00f04685a2c8254d08d3440325b096a88b121416 (patch)
tree77399e17234d1639417d8c769022cbea61853ece /target/linux/ar71xx/base-files/lib
parentebd0fd5ff93fe2a439143d06506dd46cf53668d8 (diff)
ar71xx: create sysupgrade image for the WNDR3700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18570 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 8ee412ed0..97c3a41da 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -82,6 +82,13 @@ platform_check_image() {
}
return 0
;;
+ wndr3700)
+ [ "$magic" != "3337" ] && {
+ echo "Invalid image type."
+ return 1
+ }
+ return 0
+ ;;
wrt160nl)
[ "$magic" != "4e4c" ] && {
echo "Invalid image type."