openbsd-ports/net/samba/pkg/winbindd.rc
2012-08-04 15:28:14 +00:00

26 lines
362 B
Bash

#!/bin/sh
#
# $OpenBSD: winbindd.rc,v 1.6 2012/08/04 15:28:14 ajacoutot Exp $
smbcontrol="${TRUEPREFIX}/bin/smbcontrol"
daemon="${TRUEPREFIX}/libexec/winbindd -D"
. /etc/rc.d/rc.subr
rc_usercheck=NO
rc_check() {
${smbcontrol} winbindd ping
}
rc_reload() {
${smbcontrol} winbindd reload-config
}
rc_stop() {
${smbcontrol} winbindd shutdown
}
rc_cmd $1