xref: /freebsd/libexec/rc/rc.d/iscsid (revision 8881d206f4e68b564c2c5f50fc717086fc3e827a)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# PROVIDE: iscsid
7# REQUIRE: NETWORKING
8# BEFORE:  DAEMON
9# KEYWORD: nojail
10
11. /etc/rc.subr
12
13name="iscsid"
14desc="iSCSI initiator daemon"
15rcvar="iscsid_enable"
16pidfile="/var/run/${name}.pid"
17command="/usr/sbin/${name}"
18required_modules="iscsi"
19
20load_rc_config $name
21run_rc_command "$1"
22