freebsd-ports/mail/drac/files/dracd.sh.in
2006-03-23 15:53:09 +00:00

26 lines
463 B
Bash

#!/bin/sh
# $FreeBSD$
# PROVIDE: dracd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
# Define these dracd_* variables in one of these files:
# /etc/rc.conf
# /etc/rc.conf.local
# /etc/rc.conf.d/dracd
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
dracd_enable=${dracd_enable-"NO"}
dracd_flags=${dracd_flags-""}
. %%RC_SUBR%%
name="dracd"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/rpc.dracd"
load_rc_config $name
run_rc_command "$1"