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

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

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