0efea177e3
Proposed on tech-kern@.
19 lines
348 B
Bash
Executable File
19 lines
348 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $NetBSD: iscsi_target,v 1.2 2008/11/12 12:35:52 ad Exp $
|
|
#
|
|
|
|
# PROVIDE: iscsi_target
|
|
# REQUIRE: NETWORKING mountall 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"
|