v1.4 - Python script shows correct version
This commit is contained in:
parent
fd9ddddbb5
commit
d477614c52
2 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
### Default values
|
||||
scriptVersion="1.4.0"
|
||||
scriptVersion="1.4"
|
||||
scriptName="ARLChecker"
|
||||
sleepInterval='24h'
|
||||
### Import Settings
|
||||
|
|
|
@ -11,8 +11,7 @@ import logging
|
|||
import os
|
||||
from datetime import datetime
|
||||
|
||||
# Pull script version from previous
|
||||
VERSION = '0.0.0'
|
||||
# Pull script version from bash script. will likely change this to a var passthrough
|
||||
with open("/custom-services.d/ARLChecker", "r") as r:
|
||||
for line in r:
|
||||
if 'scriptVersion' in line:
|
||||
|
|
Loading…
Reference in a new issue