[OpenWrt-Devel] [PATCH CC 29/34] ar71xx: add user-space support for the OpenMesh OM5P-ACv2

Sven Eckelmann sven.eckelmann at open-mesh.com
Thu May 19 14:21:12 EDT 2016


Signed-off-by: Sven Eckelmann <sven.eckelmann at open-mesh.com>

Backport of r49150
---
 target/linux/ar71xx/base-files/etc/diag.sh   | 3 ++-
 target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 7528620..631459f 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -178,7 +178,8 @@ get_status_led() {
 	om5p-an)
 		status_led="om5p:blue:power"
 		;;
-	om5p-ac)
+	om5p-ac | \
+	om5p-acv2)
 		status_led="om5pac:blue:power"
 		;;
 	onion-omega)
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 9354057..92ee56d 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -575,6 +575,9 @@ ar71xx_board_detect() {
 	*"OM5P AC")
 		name="om5p-ac"
 		;;
+	*"OM5P ACv2")
+		name="om5p-acv2"
+		;;
 	*"Onion Omega")
 		name="onion-omega"
 		;;
-- 
2.8.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list