6cfaa0e6e2
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>
25 lines
383 B
Bash
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"
|