From 00f04685a2c8254d08d3440325b096a88b121416 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 28 Nov 2009 08:25:56 +0000 Subject: ar71xx: create sysupgrade image for the WNDR3700 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18570 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'target/linux/ar71xx/base-files/lib') diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 8ee412ed0..97c3a41da 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." -- cgit v1.2.3