HEADS UP: change in ports rc.d script behaviour

Craig Rodrigues rodrigc at crodrigues.org
Sun Jul 25 10:39:37 PDT 2004


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


More information about the freebsd-ports mailing list