#!/bin/bash
#This normally is meant to suspend to disk. But that is insecure.
echo 'Not suspending to disk. It is insecure: the RAM is saved in cleartext!'

#Blink the thinklight 3 times.
DELAY=100000            #microseconds.
cd /proc/acpi/ibm
for ((i=0; i<3; i++)) ; do
        echo -n "on" > light ; usleep $DELAY ; echo -n "off" > light; usleep $DELAY
done
