- 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>
This commit is contained in:
Pav Lucistnik 2005-05-20 14:58:13 +00:00
parent 91d718ec49
commit b280fe850f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135707
2 changed files with 3 additions and 2 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= drac
PORTVERSION= 1.12
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cc.umanitoba.ca/src/ \
http://atreides.freenix.no/~anders/ \

View file

@ -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"