v1.2 - move source config import to new location
This commit is contained in:
parent
8ffbc5732b
commit
21549aae81
1 changed files with 4 additions and 4 deletions
|
@ -1,16 +1,16 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
scriptVersion="1.1"
|
||||
scriptVersion="1.2"
|
||||
scriptName="QueueCleaner"
|
||||
|
||||
#### Import Settings
|
||||
source /config/extended.conf
|
||||
|
||||
log () {
|
||||
m_time=`date "+%F %T"`
|
||||
echo $m_time" :: $scriptName :: $scriptVersion :: "$1
|
||||
}
|
||||
|
||||
verifyConfig () {
|
||||
#### Import Settings
|
||||
source /config/extended.conf
|
||||
|
||||
if [ "$enableQueueCleaner" != "true" ]; then
|
||||
log "Script is not enabled, enable by setting enableQueueCleaner to \"true\" by modifying the \"/config/extended.conf\" config file..."
|
||||
log "Sleeping (infinity)"
|
||||
|
|
Loading…
Reference in a new issue