summaryrefslogtreecommitdiff
path: root/net/rmsg/files/rmsgd.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/rmsg/files/rmsgd.in')
-rw-r--r--net/rmsg/files/rmsgd.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/rmsg/files/rmsgd.in b/net/rmsg/files/rmsgd.in
new file mode 100644
index 000000000000..24794ef13fac
--- /dev/null
+++ b/net/rmsg/files/rmsgd.in
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# PROVIDE: rmsg
+# REQUIRE: DAEMON
+# BEFORE: LOGIN
+# KEYWORD: shutdown
+
+. /etc/rc.subr
+
+name="rmsgd"
+rcvar="rmsgd_enable"
+command="%%PREFIX%%/sbin/${name}"
+
+load_rc_config $name
+run_rc_command "$1"