summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/systemconfig.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-12-08 22:18:56 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-12-08 22:18:56 (GMT)
commitc0d6b85efd2c93411be26976412e0fd8924d62a0 (patch)
tree5f50dec5f25312e91a52a359f169986eec823cdb /abs/core/LinHES-config/systemconfig.py
parent11b3a83607f4c6abf84875a22d36ab6593c831d8 (diff)
downloadlinhes_pkgbuild-c0d6b85efd2c93411be26976412e0fd8924d62a0.zip
linhes_pkgbuild-c0d6b85efd2c93411be26976412e0fd8924d62a0.tar.gz
linhes_pkgbuild-c0d6b85efd2c93411be26976412e0fd8924d62a0.tar.bz2
LinHES-config: move network module to top of the list. When multiple modules are run and network is in the list, network will run first.
-Add support for creating the .mythtv dir if it's not present -simple logic to catch an error if the network can not be reached, when checking for extra support for func,xymon.
Diffstat (limited to 'abs/core/LinHES-config/systemconfig.py')
-rwxr-xr-xabs/core/LinHES-config/systemconfig.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/abs/core/LinHES-config/systemconfig.py b/abs/core/LinHES-config/systemconfig.py
index 31d2164..aa94aec 100755
--- a/abs/core/LinHES-config/systemconfig.py
+++ b/abs/core/LinHES-config/systemconfig.py
@@ -92,9 +92,10 @@ def main(argv):
if cmdmodule["all"]:
logging.info("*** WILL RUN ALL MODULES ***")
+ cmdmodule["network"] = True
cmdmodule["hostype"] = True
cmdmodule["ir"]= True
- cmdmodule["network"] = True
+ #cmdmodule["network"] = True
cmdmodule["audio"] = True
cmdmodule["misc"] = True
cmdmodule["sleep"] = True
@@ -107,6 +108,12 @@ def main(argv):
cmdmodule["smolt"] = True
cmdmodule["user"] = True
+ if cmdmodule["network"]:
+ restartfe = mv_network.setup_network(systemconfig, cmdmodule["this_is_install"])
+ if restartfe == True :
+ logging.debug(" Setting the frontend to restart due to network change")
+ cmdmodule["restartfe"] = True
+
if cmdmodule["hostype"]:
import mv_hostype