diff options
author | Cecil <knoppmyth@gmail.com> | 2011-12-22 01:57:32 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-12-22 01:57:32 (GMT) |
commit | 7c37daf6c751f73b0785bc6b851c7cc662f65447 (patch) | |
tree | c46d56f3c3c283dc3de31577befbea1ec9ed1bcf /abs/core/LinHES-config/systemconfig.py | |
parent | 69701681f4cd221164da333d0ef0f1baf99bbf52 (diff) | |
parent | 02750b0fe64c4da69ff0dfc16178f1a79cec0b18 (diff) | |
download | linhes_pkgbuild-7c37daf6c751f73b0785bc6b851c7cc662f65447.zip linhes_pkgbuild-7c37daf6c751f73b0785bc6b851c7cc662f65447.tar.gz linhes_pkgbuild-7c37daf6c751f73b0785bc6b851c7cc662f65447.tar.bz2 |
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/LinHES-config/systemconfig.py')
-rwxr-xr-x | abs/core/LinHES-config/systemconfig.py | 8 |
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 |