19 lines
364 B
Bash
Executable File
19 lines
364 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $NetBSD: iscsi_target,v 1.1 2006/02/08 19:02:59 agc Exp $
|
|
#
|
|
|
|
# PROVIDE: iscsi_target
|
|
# REQUIRE: NETWORKING mountall beforemountlkm quota
|
|
|
|
$_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"
|