summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config/mv_smolt.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-03-28 00:54:01 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-03-28 00:54:01 (GMT)
commit26444d35e3ce38da0504600900d4775eb7a5970b (patch)
treeeb8fafbd5ffafc980925f3a8e57c117bc8daada0 /abs/core-testing/LinHES-config/mv_smolt.py
parenta2c0883f206547f76d207a8477afc82a07cf0a30 (diff)
downloadlinhes_pkgbuild-26444d35e3ce38da0504600900d4775eb7a5970b.zip
linhes_pkgbuild-26444d35e3ce38da0504600900d4775eb7a5970b.tar.gz
linhes_pkgbuild-26444d35e3ce38da0504600900d4775eb7a5970b.tar.bz2
linhes-systemconfig: add ability to enable or disable modules based on configfile
/etc/mythvantage.cfg is the config file Changing any value to False will make systemconfig.py skip that module and print what section is being skipped. closes #663
Diffstat (limited to 'abs/core-testing/LinHES-config/mv_smolt.py')
-rwxr-xr-xabs/core-testing/LinHES-config/mv_smolt.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/abs/core-testing/LinHES-config/mv_smolt.py b/abs/core-testing/LinHES-config/mv_smolt.py
index 5fd3722..cfc697e 100755
--- a/abs/core-testing/LinHES-config/mv_smolt.py
+++ b/abs/core-testing/LinHES-config/mv_smolt.py
@@ -20,6 +20,9 @@ def read_release(stype):
def setup_smolt_type(SystemType,Remotetype,RunFrontend,mythhome,stype):
+ if mv_common.read_config(mv_common.module_config,"smolt") == False :
+ logging.info("____Skipping of smolt, config disabled____")
+ return
logging.debug("____Start of setup_smolt_type____")
releasename = read_release(stype)