From e69026e1a93793f3f410c19cd79a1d79db8f66e4 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 7 Apr 2014 22:36:47 +0000
Subject: LinHES-config: mv_hostype.py: when Run MythWelcome is enabled
 mythwelcome-config.py is run

---
 abs/core/LinHES-config/PKGBUILD      | 4 ++--
 abs/core/LinHES-config/mv_hostype.py | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index 4e1486c..3c3c06f 100755
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=8.1
-pkgrel=15
+pkgrel=16
 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config )
 pkgdesc="Install and configure your system"
 depends=('bc' 'libstatgrab' 'mysql-python' 'expect' 'curl' 'dnsutils' 'parted'
@@ -166,7 +166,7 @@ md5sums=('e4faaa3d5f180d796e200b701048b008'
          'fe5e31b833cc6707209e9d656b6eb53c'
          '71b4860bbc8b7d94311acee7efa7269c'
          '087a0ef743bc8af915503f8773536ce4'
-         '6721f0283850db684a61773bc95d18c5'
+         '38665330aeb3a8bdf7be24857fe035bb'
          '80685e047993b00161be29e3580f3a40'
          '299c24c0820fc9c483c820db2595e3cb'
          'cf51cb22e23218ae7e9b55cac1ba3a7f'
diff --git a/abs/core/LinHES-config/mv_hostype.py b/abs/core/LinHES-config/mv_hostype.py
index df0ec1a..880c0b9 100755
--- a/abs/core/LinHES-config/mv_hostype.py
+++ b/abs/core/LinHES-config/mv_hostype.py
@@ -351,6 +351,10 @@ def hostypeprint(systemconfig):
         if data_config.SYSTEMTYPE == "MythVantage":
             mv_common.remove_service("ghosd")
 
+    if systemconfig.get("UseMythWelcome") == "1":
+        logging.debug("   Running mythwelcome-config.py")
+        cmd="/usr/LH/bin/mythwelcome-config.py"
+        mv_common.runcmd(cmd)
 
     if restart_mbe == True :
         setup_mysql_connection(systemconfig)
-- 
cgit v0.12

