xref: /freebsd/libexec/rc/rc.d/iscsictl (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# PROVIDE: iscsictl
7# REQUIRE: NETWORK iscsid
8# BEFORE:  DAEMON
9# KEYWORD: nojail
10
11. /etc/rc.subr
12
13name="iscsictl"
14desc="iSCSI initiator management utility"
15rcvar="iscsictl_enable"
16command="/usr/bin/${name}"
17command_args="${iscsictl_flags}"
18required_modules="iscsi"
19
20load_rc_config $name
21run_rc_command "$1"
22