Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2005 16:49:45 -0400 (EDT)
From:      Jon Door <jondoor@udor.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/81222: Adding drac_flags option to mail/drac rc file
Message-ID:  <20050518204945.882BBB83A@mx2.mercenarylabs.com>
Resent-Message-ID: <200505182050.j4IKo37D057766@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         81222
>Category:       ports
>Synopsis:       Adding drac_flags option to mail/drac rc file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 18 20:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Shane Wadleigh
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD 5.4-STABLE FreeBSD 5.4-STABLE #1: Thu Apr 7 11:44:37 EDT 2005 i386

Affected files: /usr/local/etc/rc.d/dracd.sh

>Description:
	adding the ability to set flags for the mail/drac port, useful for changing the default dracdb path and expire time.
>How-To-Repeat:
>Fix:
cd.sh.old        Wed May 18 16:30:37 2005
--- dracd.sh    Wed May 18 16:27:46 2005
***************
*** 14,25 ****
  # DO NOT CHANGE THESE DEFAULT VALUES HERE
  #
  dracd_enable=${dracd_enable-"NO"}
  
  . /etc/rc.subr
  
  name="dracd"
  rcvar=`set_rcvar`
! command="/usr/local/sbin/rpc.dracd"
  
  load_rc_config $name
  run_rc_command "$1"
--- 14,26 ----
  # DO NOT CHANGE THESE DEFAULT VALUES HERE
  #
  dracd_enable=${dracd_enable-"NO"}
+ dracd_flags=${dracd_flags-""}
  
  . /etc/rc.subr
  
  name="dracd"
  rcvar=`set_rcvar`
! command="/usr/local/sbin/rpc.dracd "${dracd_flags}
  
  load_rc_config $name
  run_rc_command "$1"

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050518204945.882BBB83A>