X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Ftty%2Fkeep_awake_process.sh;h=eca4ad6b12e60ef2ecb30f9fb88b1d52b649d457;hb=0861b8eb52f8441822f4fd9e36df13b3e293844b;hp=9303fcb556d87d9403f0ac1be4e63fb31f214aa9;hpb=dbe3a7d9104352d69efdaa5eca600908ecc9bba8;p=feisty_meow.git diff --git a/scripts/tty/keep_awake_process.sh b/scripts/tty/keep_awake_process.sh index 9303fcb5..eca4ad6b 100644 --- a/scripts/tty/keep_awake_process.sh +++ b/scripts/tty/keep_awake_process.sh @@ -1,18 +1,18 @@ #!/bin/bash + # This program is meant to be started by the program keep_awake and has -# the basic guts that are meant to execute inside of a semi-perpetual loop. +# the guts that are meant to execute inside of a semi-perpetual loop. -source $FEISTY_MEOW_SCRIPTS/core/date_stringer.sh +source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" -# save the process id for the bye bye program to deal with. +#hmmm: is there still a process management thingy, referred to below, active in our scripts??? +# save the process id for the goodbye program to deal with. #echo $$ >>$TMP/trash.last_keep_awake_process #don't let the shutdown guy know who we are; we want to keep running now. # loop sort of forever. while true; do -# this version is for keeping a modem awake. -# ping -c 7 www.gruntose.com >/dev/null - echo "trying not to fall asleep at $(date_stringer)" - sleep 120 + # magical number of seconds to sleep... + sleep 64 done