Annotation of embedaddon/istgt/etc/istgt.sh.in, revision 1.1

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

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