git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2897 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2011-04-21 15:50:49 +00:00
parent c209e291b5
commit cd98434459
33 changed files with 4324 additions and 7 deletions

View File

@@ -0,0 +1,31 @@
#!/sbin/runscript
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
opts="reload"
description="The samba daemon init script"
description_reload="Reloads the samba daemon"
depend() {
need net
}
start() {
ebegin "Starting samba"
start-stop-daemon --start --exec /usr/sbin/samba
eend $?
}
stop() {
ebegin "Stopping samba"
start-stop-daemon --stop --pidfile /var/run/samba/samba.pid
eend $?
}
reload() {
ebegin "Reloading samba"
killall -HUP samba
eend $?
}