freebsd-ports/net/samba4wins/files/smbd4wins.sh.in
Sergey Matveychuk 6cfaa0e6e2 The Samba4WINS project provides a full featured replicating WINS server
for UNIX. It is a spinoff of the Samba 4 project, the upcoming version
of the Samba software suite and will also be available as part of the
Samba suite as soon as Samba 4 is released.

WWW: http://enterprisesamba.org/index.php?id=88

PR:		ports/95774
Submitted by:	Timur I. Bakeyev <timur@gnu.org>
2006-04-18 13:05:06 +00:00

25 lines
383 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: smbd2wins
# REQUIRE: NETWORKING SERVERS named ldconfig
# BEFORE: DAEMON
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable smbd:
#
#smbd4wins_enable="YES"
#
. %%RC_SUBR%%
name="smbd4wins"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/${name}"
pidfile="%%S4W_RUNDIR%%/${name}.pid"
load_rc_config $name
run_rc_command "$1"