xref: /freebsd/libexec/rc/rc.d/iscsid (revision b64c5a0ace59af62eff52bfe110a521dc73c937b)
1#!/bin/sh
2#
3#
4
5# PROVIDE: iscsid
6# REQUIRE: NETWORKING
7# BEFORE:  DAEMON
8# KEYWORD: nojail
9
10. /etc/rc.subr
11
12name="iscsid"
13desc="iSCSI initiator daemon"
14rcvar="iscsid_enable"
15pidfile="/var/run/${name}.pid"
16command="/usr/sbin/${name}"
17required_modules="iscsi"
18
19load_rc_config $name
20
21# doesn't make sense to run in a svcj: nojail keyword
22iscsid_svcj="NO"
23
24run_rc_command "$1"
25