diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-06-18 15:25:28 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-06-18 15:25:28 (GMT) |
commit | 10d8e10a21b819b5fb53b276fbfd3361dda4ae1d (patch) | |
tree | baff46ec105c840ae26ebb3525f67f6326cff863 /abs/core | |
parent | bef1f269596c44d6f7cdfbfc1bfa220061866a29 (diff) | |
download | linhes_pkgbuild-10d8e10a21b819b5fb53b276fbfd3361dda4ae1d.zip linhes_pkgbuild-10d8e10a21b819b5fb53b276fbfd3361dda4ae1d.tar.gz linhes_pkgbuild-10d8e10a21b819b5fb53b276fbfd3361dda4ae1d.tar.bz2 |
LinHES-system: myth_status.py: add welcome message
Diffstat (limited to 'abs/core')
-rwxr-xr-x | abs/core/LinHES-system/PKGBUILD | 6 | ||||
-rw-r--r-- | abs/core/LinHES-system/myth_status.py | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD index da24b73..c83c19a 100755 --- a/abs/core/LinHES-system/PKGBUILD +++ b/abs/core/LinHES-system/PKGBUILD @@ -1,7 +1,7 @@ pkgname=LinHES-system pkgver=8.5.2 -pkgrel=1 -arch=('i686' 'x86_64') +pkgrel=2 +arch=('x86_64') install=system.install pkgdesc="Everything that makes LinHES an automated system" license=('GPL2') @@ -91,7 +91,7 @@ md5sums=('c6e6b83a1f4c35ef4501e277657ab2ac' '542e670e78d117657f93141e9689f54d' '8da6a7f1703a002f84e66629e847d8a6' 'bb72ab230c7a71706285bd0f31a4fb1f' - '8e1404118dc7772fef9e3c7ca8811d03' + '14352e6d2cd3ed4206b1dff4ff35880d' '962a3e9eaba2d1466251b7ab0956705d' '1758aed160de64abfafb28a3a8f3390e' '33fbebbd546672cedd3c5e7350ab414e' diff --git a/abs/core/LinHES-system/myth_status.py b/abs/core/LinHES-system/myth_status.py index fbf8fdc..cd541ca 100644 --- a/abs/core/LinHES-system/myth_status.py +++ b/abs/core/LinHES-system/myth_status.py @@ -3,7 +3,7 @@ #Also will display alerts generated by xymon. If the location of xymon changes, this script needs to be updated. from MythTV import MythBE,MythDB,MythLog -import datetime,pytz,re,subprocess,sys,time +import datetime,pytz,re,socket,subprocess,sys,time from dateutil.parser import parse from tzlocal import get_localzone @@ -255,6 +255,8 @@ class tuner_recording_status: def go(): + welcomeFile=open("/etc/LinHES-release", "r") + print "Welcome to %s on %s\n" %(welcomeFile.readline().rstrip(), socket.gethostname()) tuner = tuner_recording_status(12) if tuner.get_db_check_status() == 0: tuner.print_tuner_status() |