summaryrefslogtreecommitdiff
path: root/net/samba4wins/files/smbd4wins.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba4wins/files/smbd4wins.sh.in')
-rw-r--r--net/samba4wins/files/smbd4wins.sh.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/net/samba4wins/files/smbd4wins.sh.in b/net/samba4wins/files/smbd4wins.sh.in
new file mode 100644
index 000000000000..095b756f7eb6
--- /dev/null
+++ b/net/samba4wins/files/smbd4wins.sh.in
@@ -0,0 +1,25 @@
+#!/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"