aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/rwho
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rc/rc.d/rwho')
-rwxr-xr-xlibexec/rc/rc.d/rwho20
1 files changed, 20 insertions, 0 deletions
diff --git a/libexec/rc/rc.d/rwho b/libexec/rc/rc.d/rwho
new file mode 100755
index 000000000000..f35bcda30ebf
--- /dev/null
+++ b/libexec/rc/rc.d/rwho
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+#
+
+# PROVIDE: rwho
+# REQUIRE: DAEMON
+# BEFORE: LOGIN
+# KEYWORD: shutdown
+
+. /etc/rc.subr
+
+name="rwhod"
+desc="System status server"
+rcvar="rwhod_enable"
+command="/usr/sbin/${name}"
+
+: ${rwhod_svcj_options:="net_basic"}
+
+load_rc_config $name
+run_rc_command "$1"