diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-19 19:44:37 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-19 19:44:37 +0000 |
commit | 2ff89c28473c2fabfe3faa11282e623ac20f0bce (patch) | |
tree | c9420c4aef0888a6f5a662e7a106a1d44bea4018 /target/linux/ramips/base-files/lib/upgrade | |
parent | c9eaff156a0ed7aeb827ec1ebaf22dcbde8cf117 (diff) | |
download | openwrt-2ff89c28473c2fabfe3faa11282e623ac20f0bce.tar.gz openwrt-2ff89c28473c2fabfe3faa11282e623ac20f0bce.zip |
AA: ramips: add user space support for the DIR-645
Backport of r33844.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33873 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib/upgrade')
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 2857599d0..ba04a4a4a 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -57,6 +57,13 @@ platform_check_image() { } return 0 ;; + dir-645) + [ "$magic" != "5ea3a417" ] && { + echo "Invalid image type." + return 1 + } + return 0 + ;; esac echo "Sysupgrade is not yet supported on $board." |