File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / istgt / etc / istgt.sh.in
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Oct 9 09:13:23 2012 UTC (12 years, 8 months ago) by misho
Branches: istgt, MAIN
CVS tags: v20121028, v20120901, HEAD
dhcp 4.1 r7

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

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