#!/bin/sh
#
# $FreeBSD: ports/sysutils/lookupd/files/lookupd.in,v 1.1 2006/10/07 15:12:28 pav Exp $
#

# PROVIDE: lookupd
# REQUIRE: mountcritlocal
# BEFORE: LOGIN

#
# Add the following lines to /etc/rc.conf to enable lookupd:
#
# lookupd_enable="YES"
#
# See lookupd(8) for flags
#

. %%RC_SUBR%%

name=lookupd
rcvar=`set_rcvar`

command=%%PREFIX%%/sbin/lookupd

lookupd_enable=${lookupd_enable:-"NO"}
lookupd_pidfile=${lookupd_pidfile:-"/var/run/lookupd.pid"}
lookupd_flags=${lookupd_flags:-""}

load_rc_config $name
run_rc_command "$1"


syntax highlighted by Code2HTML, v. 0.9.1