aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/bootparams
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rc/rc.d/bootparams')
-rwxr-xr-xlibexec/rc/rc.d/bootparams21
1 files changed, 21 insertions, 0 deletions
diff --git a/libexec/rc/rc.d/bootparams b/libexec/rc/rc.d/bootparams
new file mode 100755
index 000000000000..1d435d4ee480
--- /dev/null
+++ b/libexec/rc/rc.d/bootparams
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+#
+
+# PROVIDE: bootparams
+# REQUIRE: rpcbind DAEMON
+# BEFORE: LOGIN
+# KEYWORD: nojail
+
+. /etc/rc.subr
+
+name="bootparamd"
+desc="Boot parameter daemon"
+rcvar="bootparamd_enable"
+required_files="/etc/bootparams"
+command="/usr/sbin/${name}"
+
+: ${bootparamd_svcj_options:="net_basic"}
+
+load_rc_config $name
+run_rc_command "$1"