pkgsrc/net/istgt/files/istgt.sh
sborrill 9a91348125 This software (istgt) is the implementation of iSCSI target
(refer to RFC3720 about iSCSI) for FreeBSD 7.1 or later.
It includes iSCSI protocol processor and SPC-3 (SCSI Primary
Commands - 3) based logical unit emulation.

Version 20100125
2010-02-02 16:09:51 +00:00

18 lines
351 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: istgt.sh,v 1.1.1.1 2010/02/02 16:09:51 sborrill Exp $
#
# PROVIDE: istgt
# REQUIRE: network mountcritlocal
$_rc_subr_loaded . /etc/rc.subr
name="istgt"
rcvar=$name
command="@PREFIX@/bin/${name}"
pidfile="/var/run/${name}.pid"
required_files="@PKG_SYSCONFDIR@/istgt.conf"
load_rc_config $name
run_rc_command "$1"