initial commit

This commit is contained in:
Fabio Scotto di Santolo
2020-07-28 19:28:25 +02:00
commit 4cc88d2f6e
245 changed files with 22820 additions and 0 deletions

18
chapter7/function_ready_to_run Executable file
View File

@@ -0,0 +1,18 @@
ready_to_run ()
{
# set -x
# This function looks for a file on the system
# defined by the $READYTORUN_FILE variable. The
# presents presence of this file indicates we are ready
# to run this script. This file will contain a
# number 1 or 2 identifying the day we are
# working with.
if [ -r ${READYTORUN_FILE} ]
then
cat ${READYTORUN_FILE}
else
echo "NOT_READY"
fi
}