aboutsummaryrefslogtreecommitdiff
path: root/net/widentd/files/widentd.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/widentd/files/widentd.in')
-rw-r--r--net/widentd/files/widentd.in37
1 files changed, 37 insertions, 0 deletions
diff --git a/net/widentd/files/widentd.in b/net/widentd/files/widentd.in
new file mode 100644
index 000000000000..efc4baf42ba9
--- /dev/null
+++ b/net/widentd/files/widentd.in
@@ -0,0 +1,37 @@
+#!/bin/sh
+# Start or stop widentd
+#
+# $FreeBSD$
+#
+# PROVIDE: widentd
+# REQUIRE: DAEMON
+# BEFORE: LOGIN
+# KEYWORD: shutdown
+
+
+# Define these widentd_* variables in one of these files:
+#
+# /etc/rc.conf
+# /etc/rc.conf.local
+#
+# e.g.
+# widentd_enable="YES"
+#
+# see the man page at widentd(8) for
+# some additional flags to set the IP address
+# beeing bound to, or how to set a differernt
+# fake user id beeing replied as.
+#
+# DO NOT CHANGE THESE DEFAULT VALUES HERE
+#
+widentd_enable=${widentd_enable-"NO"}
+
+. /etc/rc.subr
+
+name="widentd"
+rcvar=widentd_enable
+command="%%PREFIX%%/sbin/widentd"
+
+load_rc_config $name
+
+run_rc_command "$1"