Update AutoExtras.service
This commit is contained in:
parent
478a4f63a2
commit
d09774725e
1 changed files with 3 additions and 2 deletions
|
@ -55,8 +55,9 @@ AutoExtrasProcess () {
|
||||||
fi
|
fi
|
||||||
exec &> >(tee -a "/config/logs/AutoExtras.txt")
|
exec &> >(tee -a "/config/logs/AutoExtras.txt")
|
||||||
|
|
||||||
if find /config -type f -iname "cookies.txt" | read; then
|
# Check for cookies file
|
||||||
cookiesFile="$(find /config -type f -iname "cookies.txt" | head -n1)"
|
if [ -f /config/cookies.txt ]; then
|
||||||
|
cookiesFile="/config/cookies.txt"
|
||||||
log "Cookies File Found!"
|
log "Cookies File Found!"
|
||||||
else
|
else
|
||||||
log "Cookies File Not Found!"
|
log "Cookies File Not Found!"
|
||||||
|
|
Loading…
Reference in a new issue