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
This commit is contained in:
Torsten Kurbad 2009-04-30 12:49:27 +00:00
parent 417ace3775
commit 52f332feda

View File

@ -10,6 +10,8 @@ depend() {
need net need net
} }
DAEMON="/usr/sbin/samba"
start() { start() {
ebegin "Starting Samba 4.x daemon... " ebegin "Starting Samba 4.x daemon... "
start-stop-daemon --start --quiet \ start-stop-daemon --start --quiet \
@ -20,12 +22,12 @@ start() {
stop() { stop() {
ebegin "Stopping Samba 4.x daemon... " ebegin "Stopping Samba 4.x daemon... "
start-stop-daemon --stop --quiet \ start-stop-daemon --stop --quiet \
--pidfile /var/run/samba/samba.pid --pidfile /var/run/samba/smbd.pid
eend $? eend $?
} }
reload() { reload() {
ebegin "Reloading Samba 4.x daemon... " ebegin "Reloading Samba 4.x daemon... "
killall -HUP smbd killall -HUP samba
eend $? eend $?
} }