diff options
Diffstat (limited to 'net/samba/files/winbindd.sh')
-rw-r--r-- | net/samba/files/winbindd.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/samba/files/winbindd.sh b/net/samba/files/winbindd.sh new file mode 100644 index 00000000000..a5462332d66 --- /dev/null +++ b/net/samba/files/winbindd.sh @@ -0,0 +1,25 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: winbindd.sh,v 1.1 2004/01/11 02:26:31 jlam 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 |