summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech/mts-io/led-a_heartbeat_trigger
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/multitech/mts-io/led-a_heartbeat_trigger')
-rwxr-xr-xrecipes-bsp/multitech/mts-io/led-a_heartbeat_trigger6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-bsp/multitech/mts-io/led-a_heartbeat_trigger b/recipes-bsp/multitech/mts-io/led-a_heartbeat_trigger
new file mode 100755
index 0000000..9633dcf
--- /dev/null
+++ b/recipes-bsp/multitech/mts-io/led-a_heartbeat_trigger
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+TRIGGER="/sys/class/leds/led-a/trigger"
+
+echo "setting $TRIGGER to heartbeat"
+echo "heartbeat" > $TRIGGER