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
|
#!/usr/bin/with-contenv bash
|
||||||
### Default values
|
### Default values
|
||||||
scriptVersion="1.1"
|
scriptVersion="1.2"
|
||||||
scriptName="ARLChecker"
|
scriptName="ARLChecker"
|
||||||
sleepInterval='24h'
|
sleepInterval='24h'
|
||||||
### Import Settings
|
### Import Settings
|
||||||
source /config/extended.conf
|
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...
|
echo Starting ARL Token Check...
|
||||||
# run py script
|
# run py script
|
||||||
|
|
Loading…
Reference in a new issue