rudimentary java library beginning. cleaned up scripts quite
[feisty_meow.git] / scripts / tty / keep_awake_process.sh
1 #!/bin/bash
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.
4
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.
8
9 # loop sort of forever.
10 while true; do
11 # this version is for keeping a modem awake.
12 #  ping -c 7 www.gruntose.com >/dev/null
13
14   echo "trying not to fall asleep at $(date_stringer)"
15   sleep 120
16 done