projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
proving git release script isn't busted
[feisty_meow.git]
/
scripts
/
tty
/
keep_awake_process.sh
diff --git
a/scripts/tty/keep_awake_process.sh
b/scripts/tty/keep_awake_process.sh
index 93041d8162a7b81836ea53d5749b91dfe0e931e8..683575b19c257fe73b0ce43de3512a277990064d 100644
(file)
--- a/
scripts/tty/keep_awake_process.sh
+++ b/
scripts/tty/keep_awake_process.sh
@@
-1,18
+1,18
@@
#!/bin/bash
#!/bin/bash
+
# This program is meant to be started by the program keep_awake and has
# 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
$SHELLDIR/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
#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
done