aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/zfsd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rc/rc.d/zfsd')
-rwxr-xr-xlibexec/rc/rc.d/zfsd20
1 files changed, 20 insertions, 0 deletions
diff --git a/libexec/rc/rc.d/zfsd b/libexec/rc/rc.d/zfsd
new file mode 100755
index 000000000000..f0abeeeb446b
--- /dev/null
+++ b/libexec/rc/rc.d/zfsd
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+#
+
+# PROVIDE: zfsd
+# REQUIRE: devd zfs
+# KEYWORD: nojail shutdown
+
+. /etc/rc.subr
+
+name="zfsd"
+rcvar="zfsd_enable"
+command="/usr/sbin/${name}"
+
+load_rc_config $name
+
+# doesn't make sense to run in a svcj
+zfsd_svcj="NO"
+
+run_rc_command "$1"