Signed-off-by: Sven Eckelmann <[email protected]>

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
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to