daemon scripts and bump subpackages that contain the *.rc scripts. discussed with and OK aja@ OK tb
26 lines
354 B
Bash
26 lines
354 B
Bash
#!/bin/ksh
|
|
#
|
|
# $OpenBSD: winbindd.rc,v 1.8 2018/01/11 19:27:08 rpe Exp $
|
|
|
|
smbcontrol="${TRUEPREFIX}/bin/smbcontrol"
|
|
|
|
daemon="${TRUEPREFIX}/sbin/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
|