summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-01-31 21:20:01 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-01-31 21:20:01 (GMT)
commitfa0161e423b3fdd30927cd0aad44a227ca17cc60 (patch)
tree571864fc00a78a5c7459be91a797e7f453ac7cf0 /abs/core-testing/LinHES-config
parentf907a4d1921be1af89fb5c0a943b6a3bb448b551 (diff)
downloadlinhes_pkgbuild-fa0161e423b3fdd30927cd0aad44a227ca17cc60.zip
linhes_pkgbuild-fa0161e423b3fdd30927cd0aad44a227ca17cc60.tar.gz
linhes_pkgbuild-fa0161e423b3fdd30927cd0aad44a227ca17cc60.tar.bz2
linhes-config: mv_advanced read/write bit was flipped for smb.
This changes switches it to the correct order.
Diffstat (limited to 'abs/core-testing/LinHES-config')
-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")