summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config/systemconfig.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-06-04 16:02:30 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-06-04 16:02:30 (GMT)
commit70c7883467b9348ce43b2822664bfa19af4d553d (patch)
treee71e05366faa876d72480f516161a58407dc46cc /abs/core-testing/LinHES-config/systemconfig.py
parent53be0cba35f7ab5880be30b397f2e1671611e34d (diff)
downloadlinhes_pkgbuild-70c7883467b9348ce43b2822664bfa19af4d553d.zip
linhes_pkgbuild-70c7883467b9348ce43b2822664bfa19af4d553d.tar.gz
linhes_pkgbuild-70c7883467b9348ce43b2822664bfa19af4d553d.tar.bz2
linhes-config: misc fixes
Diffstat (limited to 'abs/core-testing/LinHES-config/systemconfig.py')
-rwxr-xr-xabs/core-testing/LinHES-config/systemconfig.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/abs/core-testing/LinHES-config/systemconfig.py b/abs/core-testing/LinHES-config/systemconfig.py
index 7e5e3b1..77471c2 100755
--- a/abs/core-testing/LinHES-config/systemconfig.py
+++ b/abs/core-testing/LinHES-config/systemconfig.py
@@ -50,7 +50,7 @@ def main(argv):
global systemconfig
systemconfig["MVROOT"]=MVROOT
restartlcd = False
- cmdmodule={"misc":False , "sleep":False , "hostype":False , "hostypec":False , "advanced":False , "audio":False , "network":False , "advancedX":False , "webuser":False , "restartfe":False , "reloadfe":False , "ddns":False , "screensaver":False , "ir":False , "this_is_install":False , "user":False, "software":False, "smolt":False, "all":False}
+ cmdmodule={"misc":False , "sleep":False , "hostype":False , "hostypec":False , "advanced":False , "audio":False , "network":False , "advancedX":False , "webuser":False , "restartfe":False , "reloadfe":False , "ddns":False , "screensaver":False , "ir":False , "this_is_install":False , "user":False, "software":False, "plugins":False, "smolt":False, "all":False}
try:
opts, args = getopt.getopt(argv, 'c:hm:', ["help","modules" ] )
except getopt.GetoptError, why:
@@ -93,7 +93,7 @@ def main(argv):
if cmdmodule["hostype"]:
import mv_hostype
- cmdmodule["advancedX"] = False
+ cmdmodule["advancedX"] = True
setup_x(systemconfig)
cmdmodule["ir"] = True
mv_hostype.hostypeprint(systemconfig)
@@ -131,6 +131,7 @@ def main(argv):
mv_misc.setup_nfs(systemconfig)
if cmdmodule["sleep"]:
+ import mv_misc
mv_misc.setup_sleep(systemconfig)
if cmdmodule["webuser"]:
@@ -148,7 +149,7 @@ def main(argv):
import mv_advanced
mv_advanced.setup_advanced(systemconfig, data_config)
- if cmdmodule["software"]:
+ if cmdmodule["software"] or cmdmodule["plugins"]:
import mv_software
mv_software.setup_software(systemconfig, data_config)
@@ -204,12 +205,12 @@ if __name__ == "__main__":
systemconfig["TEMPLATES"] = os.environ["TEMPLATES"]
logging.debug("______START OF DEBUG______")
main(sys.argv[1:])
- #logging.debug("______cmd line options______")
- #for i in cmdmodule.items():
- #logging.debug (i)
- #logging.debug("______systemconfig______")
- #for i in systemconfig.items():
- #logging.debug(i)
+ logging.debug("______cmd line options______")
+ for i in cmdmodule.items():
+ logging.debug (i)
+ logging.debug("______systemconfig______")
+ for i in systemconfig.items():
+ logging.debug(i)
#pass