#!/bin/sh
#
# $FreeBSD: tags/RELEASE_9_1_0/net/samba4wins/files/smbd4wins.in 300897 2012-07-14 14:29:18Z beat $
#

# PROVIDE: smbd4wins
# REQUIRE: NETWORKING SERVERS named ldconfig
# BEFORE: DAEMON
# KEYWORD: shutdown

#
# Add the following lines to /etc/rc.conf to enable smbd:
#
#smbd4wins_enable="YES"
#

. /etc/rc.subr

name="smbd4wins"
rcvar=smbd4wins_enable
command="/usr/local/sbin/${name}"
pidfile="/var/run/${name}.pid"

load_rc_config $name
run_rc_command "$1"
