#!/bin/sh
# $FreeBSD: ports/mail/drac/files/dracd.sh.in,v 1.6 2006/11/22 01:23:30 koitsu Exp $
#
# PROVIDE: dracd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable postfix:
# dracd_enable (bool):		Set it to "YES" to enable rpc.dracd.
#				Default is "NO".
# dracd_flags (str):		Set to "" by default.
#                               Extra flags passed to rpc.dracd.
#

. /etc/rc.subr

name="dracd"
rcvar=`set_rcvar`
command="/usr/local/sbin/rpc.dracd"

load_rc_config $name

: ${dracd_enable="NO"}
: ${dracd_flags=""}

required_files="/usr/local/etc/dracd.allow"

run_rc_command "$1"


syntax highlighted by Code2HTML, v. 0.9.1