diff options
Diffstat (limited to 'recipes-bsp/multitech/mts-io/led-a_heartbeat_trigger')
-rwxr-xr-x | recipes-bsp/multitech/mts-io/led-a_heartbeat_trigger | 6 |
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 |