#!/bin/sh
#
# $FreeBSD: ports/mail/perdition/files/perdition.in,v 1.1 2007/12/11 22:15:36 delphij Exp $
#
# PROVIDE: perdition
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable perdition
#
# perdition_enable="YES"
#
# See perdition(8) for flags
#

perdition_enable=${perdition_enable-"NO"}
perdition_flags=${perdition_flags-""}

. /etc/rc.subr

name="perdition"
rcvar=`set_rcvar`

command="/usr/local/sbin/${name}"
pidfile="/var/run/perdition/${name}.pid"

load_rc_config $name

run_rc_command "$1"


syntax highlighted by Code2HTML, v. 0.9.1