Re: HEADS UP: set_rcvar() removed from rc.subr

看板FB_current作者時間14年前 (2012/01/15 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/14 (看更多)
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"
文章代碼(AID): #1F4VHMTV (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1F4VHMTV (FB_current)