|
@ -15,11 +15,11 @@ if [ "${checklogs}" != "1" ]; then |
|
|
fi |
|
|
fi |
|
|
sleep 1 |
|
|
sleep 1 |
|
|
# Create script and console log directories |
|
|
# Create script and console log directories |
|
|
mkdir -v "${logdir}" |
|
|
mkdir -pv "${logdir}" |
|
|
mkdir -v "${scriptlogdir}" |
|
|
mkdir -pv "${scriptlogdir}" |
|
|
touch "${scriptlog}" |
|
|
touch "${scriptlog}" |
|
|
if [ -n "${consolelogdir}" ]; then |
|
|
if [ -n "${consolelogdir}" ]; then |
|
|
mkdir -v "${consolelogdir}" |
|
|
mkdir -pv "${consolelogdir}" |
|
|
touch "${consolelog}" |
|
|
touch "${consolelog}" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|