summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/systemconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/LinHES-config/systemconfig.py')
-rwxr-xr-xabs/core/LinHES-config/systemconfig.py37
1 files changed, 27 insertions, 10 deletions
diff --git a/abs/core/LinHES-config/systemconfig.py b/abs/core/LinHES-config/systemconfig.py
index baa7142..8686841 100755
--- a/abs/core/LinHES-config/systemconfig.py
+++ b/abs/core/LinHES-config/systemconfig.py
@@ -62,7 +62,19 @@ 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, "plugins":False, "smolt":False, "all":False, "dhcp_request":False , "func":False, "supplemental":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, "dhcp_request":False ,
+ "func":False, "supplemental":False,
+ "vnc":False }
try:
opts, args = getopt.getopt(argv, 'c:hm:d:', ["help","modules" ] )
except getopt.GetoptError, why:
@@ -105,8 +117,9 @@ def main(argv):
cmdmodule["advanced"] = True
cmdmodule["software"] = True
cmdmodule["advancedX"] = True
- cmdmodule["smolt"] = True
+ #cmdmodule["smolt"] = True
cmdmodule["user"] = True
+ cmdmodule["vnc"] = True
if cmdmodule["network"]:
restartfe = mv_network.setup_network(systemconfig, cmdmodule["this_is_install"])
@@ -133,7 +146,7 @@ def main(argv):
setup_x(systemconfig)
cmdmodule["ir"] = True
mv_hostype.hostypeprint(systemconfig)
- cmdmodule["smolt"] = True
+ #cmdmodule["smolt"] = True
#if cmdmodule["network"]:
#restartfe = mv_network.setup_network(systemconfig, cmdmodule["this_is_install"])
@@ -224,13 +237,13 @@ def main(argv):
if cmdmodule["reloadfe"]:
mv_common.reloadfe(systemconfig.get("dbhost"),restartlcd)
- if cmdmodule["smolt"]:
- import mv_smolt
- mv_smolt.setup_smolt_type(systemconfig.get("SystemType"),
- systemconfig.get("Remotetype"),
- systemconfig.get("RunFrontend"),
- data_config.MYTHHOME,
- data_config.SYSTEMTYPE)
+ #if cmdmodule["smolt"]:
+ #import mv_smolt
+ #mv_smolt.setup_smolt_type(systemconfig.get("SystemType"),
+ #systemconfig.get("Remotetype"),
+ #systemconfig.get("RunFrontend"),
+ #data_config.MYTHHOME,
+ #data_config.SYSTEMTYPE)
if cmdmodule["user"]:
logging.info("____Start of ssh user____")
@@ -253,6 +266,10 @@ def main(argv):
mv_supplemental.windowmanager(systemconfig)
mv_supplemental.supplemental(systemconfig)
+ if cmdmodule["vnc"]:
+ import mv_vnc
+ mv_vnc.setupvnc(systemconfig,data_config)
+
if __name__ == "__main__":