From 52f332feda006f3f9169a92be877c2a54b5db7f5 Mon Sep 17 00:00:00 2001 From: Torsten Kurbad Date: Thu, 30 Apr 2009 12:49:27 +0000 Subject: [PATCH] Fixed some glitches in samba 4 ebuild git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@9310 cbe59ace-07ea-0310-918e-868702b5370d --- net-fs/samba/files/config-4.0/samba-init | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net-fs/samba/files/config-4.0/samba-init b/net-fs/samba/files/config-4.0/samba-init index de3cce0..e1d5555 100644 --- a/net-fs/samba/files/config-4.0/samba-init +++ b/net-fs/samba/files/config-4.0/samba-init @@ -10,6 +10,8 @@ depend() { need net } +DAEMON="/usr/sbin/samba" + start() { ebegin "Starting Samba 4.x daemon... " start-stop-daemon --start --quiet \ @@ -20,12 +22,12 @@ start() { stop() { ebegin "Stopping Samba 4.x daemon... " start-stop-daemon --stop --quiet \ - --pidfile /var/run/samba/samba.pid + --pidfile /var/run/samba/smbd.pid eend $? } reload() { ebegin "Reloading Samba 4.x daemon... " - killall -HUP smbd + killall -HUP samba eend $? }