HEADS UP: set_rcvar() removed from rc.subr
Doug Barton
dougb at FreeBSD.org
Sat Jan 14 21:03:03 UTC 2012
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/
More information about the freebsd-current
mailing list