Date: Sat, 14 Jan 2012 13:03:01 -0800 From: Doug Barton <dougb@FreeBSD.org> To: Jilles Tjoelker <jilles@stack.nl> Cc: freebsd-current <freebsd-current@FreeBSD.org> Subject: Re: HEADS UP: set_rcvar() removed from rc.subr Message-ID: <4F11ED85.5050202@FreeBSD.org> In-Reply-To: <20120114144445.GA53777@stack.nl> References: <4F114577.30201@FreeBSD.org> <20120114144445.GA53777@stack.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/14/2012 06:44, Jilles Tjoelker wrote: > Why must the 2-argument form of set_rcvar die at the same time? It is > used very differently and does not cause unnecessary forks. Instead, it > is called in the same shell environment to define additional rc.conf > variables that have defaults and are shown in '<script> rcvar'. Because it can just as easily be accomplished the same way that all the other rcvar-related things are: rcvar=foo_enable : ${foo_enable:=NO} And before you spend too much time bemoaning its demise, quick question ... how many places was it used? Doug -- You can observe a lot just by watching. -- Yogi Berra Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F11ED85.5050202>