1#!/bin/sh 2 3# PROVIDE: istgt 4# REQUIRE: NETWORKING syslogd mountlate 5# BEFORE: LOGIN 6# KEYWORD: shutdown 7 8. /etc/rc.subr 9 10name="istgt" 11rcvar=istgt_enable 12extra_commands="reload" 13 14load_rc_config $name 15 16: ${istgt_enable:="NO"} 17: ${istgt_config:="%%CONFIGDIR%%/${name}.conf"} 18 19required_files="${istgt_config}" 20pidfile=${istgt_pidfile:-"/var/run/${name}.pid"} 21command="%%BINDIR%%/${name}" 22command_args="-c ${istgt_config}" 23 24run_rc_command "$1" 25