Diff for /embedaddon/istgt/etc/istgt.sh.in between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 16:42:02 version 1.1.1.2, 2012/10/09 09:13:23
Line 1 Line 1
 #!/bin/sh  #!/bin/sh
   
 # PROVIDE: istgt  # PROVIDE: istgt
# REQUIRE: NETWORKING# REQUIRE: NETWORKING syslogd mountlate
# BEFORE: mountcritremote# BEFORE: LOGIN
 # KEYWORD: shutdown  # KEYWORD: shutdown
   
 . /etc/rc.subr  . /etc/rc.subr
   
 name="istgt"  name="istgt"
rcvar=`set_rcvar`rcvar=istgt_enable
 extra_commands="reload"  extra_commands="reload"
   
 load_rc_config $name  load_rc_config $name
   
: ${istgt_enable="NO"}: ${istgt_enable:="NO"}
: ${istgt_config="%%CONFIGDIR%%/istgt.conf"}: ${istgt_config:="%%CONFIGDIR%%/${name}.conf"}
: ${istgt_pidfile="/var/run/istgt.pid"} 
: ${istgt_flags=""} 
   
 required_files="${istgt_config}"  required_files="${istgt_config}"
pidfile="${istgt_pidfile}"pidfile=${istgt_pidfile:-"/var/run/${name}.pid"}
command="%%BINDIR%%/istgt"command="%%BINDIR%%/${name}"
command_args="-c ${istgt_config} ${istgt_flags}"command_args="-c ${istgt_config}"
   
 run_rc_command "$1"  run_rc_command "$1"

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


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