summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-06-21 01:37:54 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-06-21 01:37:54 (GMT)
commit841af294b3de32594fc380a54df1938117f976e8 (patch)
tree284be94f5756e5ee1ca4e2dd886b6de190245838 /abs/core-testing/LinHES-config
parent06ba6de894ea5a79a85b2fd4ebbc1faf3eeaba36 (diff)
downloadlinhes_pkgbuild-841af294b3de32594fc380a54df1938117f976e8.zip
linhes_pkgbuild-841af294b3de32594fc380a54df1938117f976e8.tar.gz
linhes_pkgbuild-841af294b3de32594fc380a54df1938117f976e8.tar.bz2
linhes-config: setup_mysql
Diffstat (limited to 'abs/core-testing/LinHES-config')
-rwxr-xr-xabs/core-testing/LinHES-config/mv_hostype.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/abs/core-testing/LinHES-config/mv_hostype.py b/abs/core-testing/LinHES-config/mv_hostype.py
index fff0e8a..093ed5a 100755
--- a/abs/core-testing/LinHES-config/mv_hostype.py
+++ b/abs/core-testing/LinHES-config/mv_hostype.py
@@ -39,6 +39,7 @@ def setup_db():
def setup_mysqlnetwork():
logging.debug(" Setting up mysql network")
+
def setup_mysql():
logging.debug(" Configuring mysql")
@@ -71,6 +72,7 @@ def hostypeprint(systemconfig):
logging.info("Stand alone system being configured")
setup_ntp(False,"null")
remove_avahi_service()
+ setup_mysqlnetwork(False)
if systemconfig["hostypec"]:
setup_db()
install_list=("mysql", "mythdb-initial", "avahi", "portmap", "nfs-utils", "local-website", "myth2ipod", "mythtv-status")
@@ -82,6 +84,7 @@ def hostypeprint(systemconfig):
setup_avahi(systemconfig["TEMPLATES"])
install_list=("mysql", "mythdb-initial", "avahi", "portmap", "nfs-utils", "local-website", "myth2ipod", "mythtv-status")
daemon_list=("mysql", "mythbackend", "avahi", "portmap", "nfs-utils", "netfs", "lighttpd")
+ setup_mysqlnetwork(True)
if data_config.SYSTEMTYPE == "MythVantage":
install_list.append('func')
install_list.append('certmaster')
@@ -138,7 +141,7 @@ def hostypeprint(systemconfig):
mv_common.remove_service("frontend")
mv_common.remove_service("hal")
- setup_mysqlnetwork()
+
setup_mysql()
if data_config.SYSTEMTYPE == "MythVantage":
setup_func_minion(dbhost)