NetBSD/etc/rc.d/iscsi_target

19 lines
348 B
Plaintext
Raw Normal View History

#!/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"