summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-02 13:21:31 +0000
committerJohn Crispin <john@openwrt.org>2014-06-02 13:21:31 +0000
commitac3fd59a2bc4323a67821a139544631a402a755c (patch)
treefe243d4457afc10a7c65daa013e86620ebea1fde /target/linux/ar71xx/base-files/etc
parentc9f15772a1ebabeaf667082e246c2ffeec6c6684 (diff)
downloadmtk-20170518-ac3fd59a2bc4323a67821a139544631a402a755c.zip
mtk-20170518-ac3fd59a2bc4323a67821a139544631a402a755c.tar.gz
mtk-20170518-ac3fd59a2bc4323a67821a139544631a402a755c.tar.bz2
ar71xx: add user-space support for OpenMesh OM2P-HSv2
Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 40962
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh1
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds1
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 616c8cc..33ffee7 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -100,6 +100,7 @@ get_status_led() {
om2p | \
om2pv2 | \
om2p-hs | \
+ om2p-hsv2 | \
om2p-lc)
status_led="om2p:blue:power"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index aac13c4..4338a49 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -153,6 +153,7 @@ nbg6716)
om2p | \
om2pv2 | \
om2p-hs | \
+om2p-hsv2 | \
om2p-lc)
ucidef_set_led_netdev "port1" "port1" "om2p:blue:wan" "eth0"
ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"