From 2b8abda1f2068a86eaf7ff7d7c06e7ff7fa8c169 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 7 Oct 2014 20:23:12 +0000
Subject: LinHES-config: mv_fileshare.py: create samba user mythtv

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

diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index adf5d69..d91dc1c 100755
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=8.2
-pkgrel=3
+pkgrel=4
 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'
@@ -169,7 +169,7 @@ md5sums=('63f1a1f3725f28b1c07875f4f43bdd6a'
          '38665330aeb3a8bdf7be24857fe035bb'
          '80685e047993b00161be29e3580f3a40'
          '299c24c0820fc9c483c820db2595e3cb'
-         '73ed13881c748375296454746c865cd2'
+         '02efe6e6da4fb76c668425fad7f8e01b'
          '781f161a79c3188a31c8615b8258b241'
          '888a6c57f272d9fa3e77e216a421562b'
          '2596460462cf6c889cf8f95485537b20'
diff --git a/abs/core/LinHES-config/mv_fileshare.py b/abs/core/LinHES-config/mv_fileshare.py
index 14ce26b..a849b98 100755
--- a/abs/core/LinHES-config/mv_fileshare.py
+++ b/abs/core/LinHES-config/mv_fileshare.py
@@ -270,7 +270,9 @@ create mask = 0755 ''' %(data_config.MYTHHOME,shreadonly)
             f.close()
             logging.debug("     %s",homelines)
 
-
+        logging.info("    Creating samba user mythtv")
+        cmd = "(echo mythtv; echo mythtv) | smbpasswd -an mythtv"
+        mv_common.runcmd(cmd)
         mv_common.add_service("nmbd")
         mv_common.add_service("smbd")
         mv_common.restart_service("nmbd")
-- 
cgit v0.12

