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