summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core-testing/LinHES-config/PKGBUILD2
-rwxr-xr-xabs/core-testing/LinHES-config/mv_advanced.py9
2 files changed, 7 insertions, 4 deletions
diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD
index 0d5d945..84bcbda 100644
--- a/abs/core-testing/LinHES-config/PKGBUILD
+++ b/abs/core-testing/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-config
pkgver=2.1
-pkgrel=12
+pkgrel=17
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'
diff --git a/abs/core-testing/LinHES-config/mv_advanced.py b/abs/core-testing/LinHES-config/mv_advanced.py
index 4790fcf..d07b7cb 100755
--- a/abs/core-testing/LinHES-config/mv_advanced.py
+++ b/abs/core-testing/LinHES-config/mv_advanced.py
@@ -224,12 +224,12 @@ def setup_samba(systemconfig,data_config):
else:
Samba_media = systemconfig["Samba_media"]
Samba_home = systemconfig["Samba_home"]
- if systemconfig["Samba_mediareadonly"] == "1":
+ if systemconfig["Samba_mediareadonly"] == "0":
smreadonly = "yes"
else:
smreadonly = "no"
- if systemconfig["Samba_homereadonly"] == "1":
+ if systemconfig["Samba_homereadonly"] == "0":
shreadonly = "yes"
else:
shreadonly = "no"
@@ -310,8 +310,11 @@ create mask = 0755 ''' %(data_config.MYTHHOME,shreadonly)
logging.debug(" %s",homelines)
- mv_common.add_service("nmbd")
+ mv_common.add_service("nmbd")
mv_common.add_service("smbd")
+ mv_common.restart_service("nmbd")
+ mv_common.restart_service("smbd")
+
else:
logging.info(" Removing windows file sharing")
mv_common.remove_service("smbd")