X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Ftty%2Fkeep_awake_process.sh;fp=scripts%2Ftty%2Fkeep_awake_process.sh;h=683575b19c257fe73b0ce43de3512a277990064d;hb=5a46095955145f2660c8e973f87469f7bcd8cc0b;hp=7c32cef738a2b28c8ca5421f3617e0af3960e42e;hpb=35f3c896a499f4bb3bd92eb865aad0f354b490c9;p=feisty_meow.git diff --git a/scripts/tty/keep_awake_process.sh b/scripts/tty/keep_awake_process.sh index 7c32cef7..683575b1 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/launch_feisty_meow.sh" +#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 + echo -e "\n\ntrying not to fall asleep at $(date_stringer)\n" + # magical number of seconds to sleep... + sleep 64 done