Re: HEADS UP: change in ports rc.d script behaviour

From: Craig Rodrigues <rodrigc_at_crodrigues.org>
Date: Sun, 25 Jul 2004 13:39:34 -0400
On Sun, Jul 25, 2004 at 05:12:08PM +0300, Mike Makonnen wrote:
> 4. If you must include a default value for an rc.conf(5) knob,
>    make sure that you put it in an if [ -z "$foo_knob"] clause.

As a simple alternative to an if clause, I've done this for the 
isc-dhcp3-server port:

[ -z "$dhcpd_enable" ] && dhcpd_enable="NO"


I submitted this PR with the full patch:
http://www.freebsd.org/cgi/query-pr.cgi?pr=69590


-- 
Craig Rodrigues        
http://crodrigues.org
rodrigc_at_crodrigues.org
Received on Sun Jul 25 2004 - 15:39:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:03 UTC