2006-02-08 22:02:58 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2008-11-12 15:35:50 +03:00
|
|
|
# $NetBSD: iscsi_target,v 1.2 2008/11/12 12:35:52 ad Exp $
|
2006-02-08 22:02:58 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: iscsi_target
|
2008-11-12 15:35:50 +03:00
|
|
|
# REQUIRE: NETWORKING mountall quota
|
2006-02-08 22:02:58 +03:00
|
|
|
|
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
|
|
|
|
|
|
|
name="iscsi_target"
|
|
|
|
rcvar=$name
|
|
|
|
command="/usr/sbin/iscsi-target"
|
|
|
|
required_files="/etc/iscsi/targets"
|
|
|
|
pidfile="/var/run/iscsi-target.pid"
|
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|