summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/iscsictl
blob: 0925e0ab127167d8a5e15d56784bff8db4a7afd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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