[OpenWrt-Devel] [PATCH 11/16] ar71xx: add user-space support for the OpenMesh OM5P-ACv2
Sven Eckelmann
sven.eckelmann at open-mesh.com
Tue Apr 5 11:17:56 EDT 2016
From: Sven Eckelmann <sven.eckelmann at open-mesh.com>
Signed-off-by: Sven Eckelmann <sven.eckelmann at open-mesh.com>
---
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 da976bd..783a4e6 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -214,7 +214,8 @@ get_status_led() {
om5p-an)
status_led="om5p:blue:power"
;;
- om5p-ac)
+ om5p-ac | \
+ om5p-acv2)
status_led="om5pac:blue:power"
;;
omy-x1)
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index ded9e7e..9c19e23 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -649,6 +649,9 @@ ar71xx_board_detect() {
*"OM5P AC")
name="om5p-ac"
;;
+ *"OM5P ACv2")
+ name="om5p-acv2"
+ ;;
*"OMY-X1")
name="omy-x1"
;;
--
2.8.0.rc3
_______________________________________________
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