From 1b0343012a2aeb8fd6e06fadd79daba7a2db59d9 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 3 Nov 2014 20:20:56 +0000 Subject: ar71xx: add support for Netgear WNR2000v4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michaƫl Burtin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43173 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'target/linux/ar71xx/base-files/lib/upgrade') diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 6220f16a7e..7a02e37d22 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -385,6 +385,14 @@ platform_check_image() { fi return 0 ;; + wnr2000-v4) + [ "$magic_long" != "32303034" ] && { + echo "Invalid image type." + return 1 + } + return 0 + ;; + esac echo "Sysupgrade is not yet supported on $board." -- cgit v1.2.3