diff options
Diffstat (limited to 'abs/core/LinHES-system/myth_status.py')
-rw-r--r-- | abs/core/LinHES-system/myth_status.py | 4 |
1 files changed, 3 insertions, 1 deletions
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() |