#!/bin/ksh
#
# OSSTech Samba winbindd
#
# chkconfig: - 27 73
# chkconfig.solaris: 2 71 39
# chkconfig.aix: 2 271 39
# chkconfig.debian: 2345 20 20
# description: Starts and stops the Samba winbind daemon
#
### BEGIN INIT INFO
# Provides:		osstech-winbind
# Required-Start:	$network $local_fs osstech-svscan
# Required-Stop:	$network $local_fs osstech-svscan
# Should-Start:		$syslog $time $named osstech-nmb osstech-ldap slapd
# Should-Stop:		$syslog $time $named osstech-nmb osstech-ldap slapd
# Default-Start:	2 3 4 5
# Default-Stop:		0 1 6
### END INIT INFO

. /etc/init.d/svinit || exit 1

sv_name="winbindd"

function sv_reload {
  sv_hangup "$1" "Reloading"
}

sv_init "$sv_name" ${1+"$@"}

