summaryrefslogtreecommitdiff
path: root/security/winbind/files/winbindd.sh
blob: 4e0e43ca0ba89034f10c6eab677b81498a6ac931 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: winbindd.sh,v 1.2 2002/09/20 02:02:01 grant Exp $
#
# PROVIDE: winbindd
# REQUIRE: nmbd

if [ -f /etc/rc.subr ]
then
	. /etc/rc.subr
fi

name="winbindd"
rcvar=$name
command="@PREFIX@/sbin/${name}"
required_vars="nmbd"
required_files="@SAMBA_ETCDIR@/smb.conf"
extra_commands="reload"

if [ -f /etc/rc.subr ]
then
	load_rc_config $name
	run_rc_command "$1"
else
	@ECHO@ -n ' ${name}'
	${command} ${winbindd_flags}
fi