summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/iscsid
blob: 287631dd61d0c900e79f2b76c21e3aed37e969d1 (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: iscsid
# REQUIRE: NETWORK
# BEFORE:  DAEMON
# KEYWORD: nojail

. /etc/rc.subr

name="iscsid"
rcvar="iscsid_enable"
pidfile="/var/run/${name}.pid"
command="/usr/sbin/${name}"
required_modules="iscsi"

load_rc_config $name
run_rc_command "$1"
OpenPOWER on IntegriCloud