summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/systemconfig.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-12-21 21:06:47 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-12-21 21:06:47 (GMT)
commitddab9d26651122643ad4f993812c6bf38d9fd911 (patch)
treedbb2233c9dfc399faf00a70ca9fe3ddb12242010 /abs/core/LinHES-config/systemconfig.py
parent8e347fecbc74ed8a3dab9d78546ad9dd9cf2a232 (diff)
downloadlinhes_pkgbuild-ddab9d26651122643ad4f993812c6bf38d9fd911.zip
linhes_pkgbuild-ddab9d26651122643ad4f993812c6bf38d9fd911.tar.gz
linhes_pkgbuild-ddab9d26651122643ad4f993812c6bf38d9fd911.tar.bz2
LinHES-system/config: add install_supplemental_service.sh
This script will install and configure the extra web services and programs needed. LinHES-session: additional work on making the startup process a bit more modular.
Diffstat (limited to 'abs/core/LinHES-config/systemconfig.py')
-rwxr-xr-xabs/core/LinHES-config/systemconfig.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/abs/core/LinHES-config/systemconfig.py b/abs/core/LinHES-config/systemconfig.py
index aa94aec..a8bae81 100755
--- a/abs/core/LinHES-config/systemconfig.py
+++ b/abs/core/LinHES-config/systemconfig.py
@@ -62,7 +62,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, "plugins":False, "smolt":False, "all":False, "dhcp_request":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}
try:
opts, args = getopt.getopt(argv, 'c:hm:d:', ["help","modules" ] )
except getopt.GetoptError, why:
@@ -114,6 +114,12 @@ def main(argv):
logging.debug(" Setting the frontend to restart due to network change")
cmdmodule["restartfe"] = True
+ if cmdmodule["func"]:
+ from mv_hostype import setup_func_minion
+ setup_func_minion(systemconfig.get("dbhost"),systemconfig.get("hostname"))
+
+
+
if cmdmodule["hostype"]:
import mv_hostype