diff options
Diffstat (limited to 'mail/drac/files/dracd.sh.in')
-rw-r--r-- | mail/drac/files/dracd.sh.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mail/drac/files/dracd.sh.in b/mail/drac/files/dracd.sh.in new file mode 100644 index 000000000000..c7be70a1df3c --- /dev/null +++ b/mail/drac/files/dracd.sh.in @@ -0,0 +1,25 @@ +#!/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" |