summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/iscsictl
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/iscsictl')
-rwxr-xr-xetc/rc.d/iscsictl20
1 files changed, 20 insertions, 0 deletions
diff --git a/etc/rc.d/iscsictl b/etc/rc.d/iscsictl
new file mode 100755
index 0000000..0925e0a
--- /dev/null
+++ b/etc/rc.d/iscsictl
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: iscsictl
+# REQUIRE: NETWORK iscsid
+# BEFORE: DAEMON
+# KEYWORD: nojail
+
+. /etc/rc.subr
+
+name="iscsictl"
+rcvar="iscsictl_enable"
+command="/usr/bin/${name}"
+command_args="${iscsictl_flags}"
+required_modules="iscsi"
+
+load_rc_config $name
+run_rc_command "$1"
OpenPOWER on IntegriCloud