From 037b42838f54aa2a90a31901029371c3ae9b8c03 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 30 Jan 2014 17:08:02 +0000 Subject: [PATCH] ar71xx: dragino2: add missing sysupgrade support. The original dragino2 board support was missing some changes from the upstream svn repository (http://svn.dragino.com/dragino2) that supported sysupgrade. [juhosg: change subject] Signed-off-by: Karl Palsson Patchwork: http://patchwork.openwrt.org/patch/4801/ Signed-off-by: Gabor Juhos SVN-Revision: 39429 --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index ce7836745e..3893747426 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -279,6 +279,9 @@ ar71xx_board_detect() { *"DIR-835 rev. A1") name="dir-835-a1" ;; + *"Dragino v2") + name="dragino2" + ;; *EAP7660D) name="eap7660d" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 9d44f343b9..b2181af5b5 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -149,6 +149,7 @@ platform_check_image() { dir-615-e4 | \ dir-825-c1 | \ dir-835-a1 | \ + dragino2 | \ ew-dorin | \ ew-dorin-router | \ hornet-ub-x2 | \