summaryrefslogtreecommitdiff
path: root/mail/drac/files/dracd.sh
blob: 7bb1a3dcd895aec6702cb336be814bd6c740fbeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/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="NO"
dracd_flags=""

. %%RC_SUBR%%

name="dracd"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/rpc.dracd"

load_rc_config $name
run_rc_command "$1"