#!/bin/bash [ -f /proc/acpi/ibm/led ] || exit 0 case "$1" in thaw|resume) { echo "7 blink" >/proc/acpi/ibm/led ; } 2>/dev/null ;; *) ;; esac exit $?