summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-scripts/mythwelcome-config.py
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-09-14 22:10:40 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-09-14 22:10:40 (GMT)
commit096c20a03e34e5142356c2df5ba7602990561d4e (patch)
treecfef1e62e53f152bcbe31ebf8afc7884fe48d19c /abs/core/linhes-scripts/mythwelcome-config.py
parent3c36d806034f2c63d48bf0d7c577969be4155fb7 (diff)
downloadlinhes_pkgbuild-096c20a03e34e5142356c2df5ba7602990561d4e.zip
linhes_pkgbuild-096c20a03e34e5142356c2df5ba7602990561d4e.tar.gz
linhes_pkgbuild-096c20a03e34e5142356c2df5ba7602990561d4e.tar.bz2
LinHES-system, linhes-scripts: move linhes_update*.sh and mythwelcome-* to LinHES-system
Diffstat (limited to 'abs/core/linhes-scripts/mythwelcome-config.py')
-rwxr-xr-xabs/core/linhes-scripts/mythwelcome-config.py27
1 files changed, 0 insertions, 27 deletions
diff --git a/abs/core/linhes-scripts/mythwelcome-config.py b/abs/core/linhes-scripts/mythwelcome-config.py
deleted file mode 100755
index 5ab24b0..0000000
--- a/abs/core/linhes-scripts/mythwelcome-config.py
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env python2
-
-# This script will configure the myth db to allow MythWelcome to wake and shutdown the system.
-
-from socket import gethostname
-from MythTV import MythDB
-mythdb = MythDB()
-localhostname = gethostname()
-
-# mythwelcome --setup
-mythdb.settings[localhostname].MythShutdownNvramCmd = u'sudo sh -c \"/usr/LH/bin/mythwelcome-set-alarm.sh $time\"'
-mythdb.settings[localhostname].MythShutdownWakeupTimeFmt = u'time_t'
-mythdb.settings[localhostname].MythShutdownNvramRestartCmd = u''
-mythdb.settings[localhostname].MythShutdownReboot = u'sudo /sbin/reboot'
-mythdb.settings[localhostname].MythShutdownPowerOff = u'sudo /sbin/poweroff'
-mythdb.settings[localhostname].MythShutdownXTermCmd = u'xterm'
-mythdb.settings[localhostname].MythWelcomeStartFECmd = u'/usr/LH/bin/mythfrontend-start'
-
-
-# mythtv-setup Shutdown/Wakeup options
-if mythdb.settings[localhostname].idleTimeoutSecs == u'0':
- mythdb.settings[localhostname].idleTimeoutSecs = u'40'
-
-mythdb.settings.NULL.WakeupTimeFormat = u'yyyy-MM-ddThh:mm:ss'
-mythdb.settings.NULL.SetWakeuptimeCommand = u'/usr/bin/mythshutdown --setwakeup $time'
-mythdb.settings.NULL.ServerHaltCommand = u'/usr/bin/mythshutdown --shutdown'
-mythdb.settings.NULL.preSDWUCheckCommand = u'/usr/LH/bin/idle.sh -s -m -r'