diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-11-28 08:25:56 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-11-28 08:25:56 +0000 |
commit | 050ea33a0b437db2e22a70fe7933662200ae6975 (patch) | |
tree | 77399e17234d1639417d8c769022cbea61853ece /target/linux/ar71xx/base-files | |
parent | b601f71cb516eeafe27b973097f7c53f658d6361 (diff) | |
download | upstream-050ea33a0b437db2e22a70fe7933662200ae6975.tar.gz upstream-050ea33a0b437db2e22a70fe7933662200ae6975.tar.bz2 upstream-050ea33a0b437db2e22a70fe7933662200ae6975.zip |
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')
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 7 |
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 8ee412ed03..97c3a41dae 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." |