diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-08-09 14:12:24 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-08-09 14:12:24 +0000 |
commit | ee0aa5b99c16769e14edec338b8b1549eb6dc98e (patch) | |
tree | 3ec6100eabeffb27b1f4732d4407846ab859aaff /target/linux/ar71xx/base-files | |
parent | b38a697aa76fb4e73afc3aa50b53391d3fe13399 (diff) | |
download | upstream-ee0aa5b99c16769e14edec338b8b1549eb6dc98e.tar.gz upstream-ee0aa5b99c16769e14edec338b8b1549eb6dc98e.tar.bz2 upstream-ee0aa5b99c16769e14edec338b8b1549eb6dc98e.zip |
[ar71xx] enable sysupgrade on the WRT160Nl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17202 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 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index a5cb354c92..c4c56afdd0 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -21,13 +21,20 @@ platform_check_image() { } return 0 ;; - tl-wr741nd | tl-wr941nd) + tl-wr741nd | tl-wr941nd) [ "$magic" != "0100" ] && { echo "Invalid image type." return 1 } return 0 ;; + wrt160nl) + [ "$magic" != "4e4c" ] && { + echo "Invalid image type." + return 1 + } + return 0 + ;; esac echo "Sysupgrade is not yet supported on $board." |