#!/bin/sh # # $NetBSD: iscsi_target,v 1.1 2009/06/22 01:51:02 agc Exp $ # # PROVIDE: iscsi_target # REQUIRE: NETWORKING mountall beforemountlkm quota $_rc_subr_loaded . /etc/rc.subr name="iscsi_target" rcvar=$name command="/usr/local/bin/iscsi-target" required_files="/usr/local/etc/iscsi/targets" pidfile="/var/run/iscsi-target.pid" load_rc_config $name run_rc_command "$1" |