v1.5 - logging fixes

This commit is contained in:
RandomNinjaAtk 2023-07-19 18:09:14 +00:00 committed by GitHub
parent 0a7844347b
commit 897c37245f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
scriptVersion="1.4"
scriptVersion="1.5"
scriptName="AutoExtras"
log () {
@ -17,9 +17,12 @@ logfileSetup () {
touch "/config/logs/$scriptName.txt"
chmod 666 "/config/logs/$scriptName.txt"
fi
exec &> >(tee -a "/config/logs/$scriptName.txt")
}
# Create Log, start writing...
logfileSetup
exec &> >(tee -a "/config/logs/$scriptName.txt")
verifyConfig () {
#### Import Settings
source /config/extended.conf