1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/mail/drac/files/dracd.sh
Joe Marcus Clarke 6243f110f1 Fix the way rc.d default values are initialized so that drac will startup
with the new localpkg on -CURRENT.

Submitted by:	mtm
2004-07-26 19:18:17 +00:00

26 lines
441 B
Bash

#!/bin/sh
# $FreeBSD$
# PROVIDE: dracd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: FreeBSD 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"}
. %%RC_SUBR%%
name="dracd"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/rpc.dracd"
load_rc_config $name
run_rc_command "$1"