#!/bin/bash TRIGGER="/sys/class/leds/led-status/trigger" echo "setting $TRIGGER to heartbeat" echo "heartbeat" > $TRIGGER