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 source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
7 # save the process id for the goodbye program to deal with.
8 #echo $$ >>$TMP/trash.last_keep_awake_process
9 #don't let the shutdown guy know who we are; we want to keep running now.
11 # loop sort of forever.
13 # this version is for keeping a modem awake.
14 # ping -c 7 www.gruntose.com >/dev/null
16 echo "trying not to fall asleep at $(date_stringer)"