Re: HEADS UP: set_rcvar() removed from rc.subr
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/
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 7 之 14 篇):