2 # This program is meant to be started by the program keep_awake and has
3 # the basic guts that are meant to execute inside of a semi-perpetual loop.
5 # save the process id for the goodbye program to deal with.
6 #echo $$ >>$TMP/trash.last_keep_awake_process
7 #don't let the shutdown guy know who we are; we want to keep running now.
9 # loop sort of forever.
11 # this version is for keeping a modem awake.
12 # ping -c 7 www.gruntose.com >/dev/null
14 echo "trying not to fall asleep at $(date_stringer)"