#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-x86/net-fs/samba/files/winbind-init,v 1.3 2003/09/26 00:18:47 woodchip Exp $

depend() {
	need net
}

start() {
	ebegin "Starting winbind"
	start-stop-daemon --start --quiet --exec /usr/sbin/winbindd
	eend $?
}

stop() {
	ebegin "Stopping winbind"
	start-stop-daemon --stop --quiet --oknodo --exec /usr/sbin/winbindd
	eend $?
}
