aboutsummaryrefslogtreecommitdiff
path: root/mail/drac/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-05-20 14:58:13 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-05-20 14:58:13 +0000
commitb280fe850fa4a85b651da18cbf28e7c0e0f7826a (patch)
treefe58d3168bd272161c12ac362f3d4818bdd820b4 /mail/drac/files
parent91d718ec4901a9d972233a70f5da4d1257eeb5ca (diff)
downloadports-b280fe850fa4a85b651da18cbf28e7c0e0f7826a.tar.gz
ports-b280fe850fa4a85b651da18cbf28e7c0e0f7826a.zip
- Add dracd_flags to rc script, useful for changing the default dracdb path and
expire time. PR: ports/81222 Submitted by: Shane Wadleigh <jondoor@udor.net>
Notes
Notes: svn path=/head/; revision=135707
Diffstat (limited to 'mail/drac/files')
-rw-r--r--mail/drac/files/dracd.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/drac/files/dracd.sh.in b/mail/drac/files/dracd.sh.in
index c7be70a1df3c..c5b0332d5bdb 100644
--- a/mail/drac/files/dracd.sh.in
+++ b/mail/drac/files/dracd.sh.in
@@ -14,12 +14,13 @@
# 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"
+command="%%PREFIX%%/sbin/rpc.dracd "${dracd_flags}
load_rc_config $name
run_rc_command "$1"