summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-22 12:29:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-22 12:29:24 +0000
commit3ffa1c0156d031173967b0e85362615adc97f1d2 (patch)
tree3a35a84731dd5c449333616658e7c5dcd309e196
parent936acf92785dfae178c368313a3869aa64221a77 (diff)
downloadaports-3ffa1c0156d031173967b0e85362615adc97f1d2.tar.bz2
aports-3ffa1c0156d031173967b0e85362615adc97f1d2.tar.xz
extra/samba: fix for init script
-rw-r--r--extra/samba/APKBUILD4
-rw-r--r--extra/samba/samba.initd6
2 files changed, 5 insertions, 5 deletions
diff --git a/extra/samba/APKBUILD b/extra/samba/APKBUILD
index c05a80f1..96c67862 100644
--- a/extra/samba/APKBUILD
+++ b/extra/samba/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=samba
pkgver=3.3.5
-pkgrel=1
+pkgrel=2
pkgdesc="Tools to access a server's filespace and printers via SMB"
url="http://www.samba.org"
license="GPL3"
@@ -95,5 +95,5 @@ tdb() {
}
md5sums="8fa0e3c5daaba4c2ce2fb871a5f3157a samba-3.3.5.tar.gz
-df66f9e44bff016c76c41935e959557c samba.initd
+1b701fdb22c52c63b3af0e4a286a9329 samba.initd
c150433426e18261e6e3eed3930e1a76 samba.confd"
diff --git a/extra/samba/samba.initd b/extra/samba/samba.initd
index 67f65a33..d2d395a9 100644
--- a/extra/samba/samba.initd
+++ b/extra/samba/samba.initd
@@ -30,12 +30,12 @@ stop_nmbd() {
}
start_winbindd() {
- start-stop-daemon --start --quiet --exec /usr/sbin/winbindd \
- -- $winbindd_options
+ start-stop-daemon --start --quiet --exec /usr/sbin/winbindd -- \
+ $winbindd_options
}
stop_winbindd() {
- start-stop-daemon --stop --quiet --oknodo --exec /usr/sbin/winbindd
+ start-stop-daemon --stop --quiet --pidfile /var/run/samba/winbindd.pid
}
start() {