summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-10-07 20:23:12 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-10-07 20:23:12 (GMT)
commit2b8abda1f2068a86eaf7ff7d7c06e7ff7fa8c169 (patch)
treea32a1c607549c1e93c67e0d166b0e848391e00e9 /abs/core/LinHES-config
parent43119008f7b05b24cfdb85fc2b715503b1f93da9 (diff)
downloadlinhes_pkgbuild-2b8abda1f2068a86eaf7ff7d7c06e7ff7fa8c169.zip
linhes_pkgbuild-2b8abda1f2068a86eaf7ff7d7c06e7ff7fa8c169.tar.gz
linhes_pkgbuild-2b8abda1f2068a86eaf7ff7d7c06e7ff7fa8c169.tar.bz2
LinHES-config: mv_fileshare.py: create samba user mythtv
Diffstat (limited to 'abs/core/LinHES-config')
-rwxr-xr-xabs/core/LinHES-config/PKGBUILD4
-rwxr-xr-xabs/core/LinHES-config/mv_fileshare.py4
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")