From 2ab0fbc9de6365d066857cf0b53da22275dbf356 Mon Sep 17 00:00:00 2001 From: juhosg Date: Thu, 18 Oct 2012 07:23:03 +0000 Subject: ramips: add user space support for the DIR-645 Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33844 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/lib/upgrade/platform.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'target/linux/ramips/base-files/lib/upgrade') 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." -- cgit v1.2.3