1.2 - Only run script if applicable...
This commit is contained in:
parent
76e347e5c4
commit
a14cecd5c5
1 changed files with 10 additions and 2 deletions
|
@ -1,10 +1,18 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
### Default values
|
||||
scriptVersion="1.1"
|
||||
scriptVersion="1.2"
|
||||
scriptName="ARLChecker"
|
||||
sleepInterval='24h'
|
||||
### Import Settings
|
||||
source /config/extended.conf
|
||||
#### Import Functions
|
||||
source /config/extended/functions
|
||||
|
||||
if [ "$dlClientSource" == "tidal" ]; then
|
||||
log "Script is not enabled, enable by setting dlClientSource to \"deezer\" or \"both\" by modifying the \"/config/extended.conf\" config file..."
|
||||
log "Sleeping (infinity)"
|
||||
sleep infinity
|
||||
fi
|
||||
|
||||
echo Starting ARL Token Check...
|
||||
# run py script
|
||||
|
@ -21,4 +29,4 @@ else
|
|||
fi
|
||||
|
||||
echo ARL Token Check Complete. Sleeping for ${sleepInterval}.
|
||||
sleep ${sleepInterval}
|
||||
sleep ${sleepInterval}
|
||||
|
|
Loading…
Reference in a new issue