File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / istgt / etc / istgt.sh.in
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 16:42:02 2012 UTC (12 years, 5 months ago) by misho
Branches: istgt, MAIN
CVS tags: v20111008, HEAD
istgt

#!/bin/sh

# PROVIDE: istgt
# REQUIRE: NETWORKING
# BEFORE: mountcritremote
# KEYWORD: shutdown

. /etc/rc.subr

name="istgt"
rcvar=`set_rcvar`
extra_commands="reload"

load_rc_config $name

: ${istgt_enable="NO"}
: ${istgt_config="%%CONFIGDIR%%/istgt.conf"}
: ${istgt_pidfile="/var/run/istgt.pid"}
: ${istgt_flags=""}

required_files="${istgt_config}"
pidfile="${istgt_pidfile}"
command="%%BINDIR%%/istgt"
command_args="-c ${istgt_config} ${istgt_flags}"

run_rc_command "$1"

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>