a09202bd23
Noticed by: mnag
26 lines
463 B
Bash
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"
|