Re: update document

看板FB_doc作者時間20年前 (2006/03/20 16:22), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/7 (看更多)
Ceri Davies wrote: > On 15/3/06 19:15, "Alfred Morgan" <alfred.morgan@experclick.com> wrote: > >> In this document: >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.h >> tml >> >> Can we change: >> >> rcvar=${name}_enable >> >> to be : >> >> rcvar=`set_rcvar` >> >> so that it would be a good example how to be other OS (OpenBSD) >> compatible as well. The set_rcvar function simply returns ${name}_enable, so setting that value explicitly in the example removes a layer of indirection, and helps make it more clear what's happening there, which makes it a better example. There are occasionally good reasons for making $rcvar something other than ${name}_enable, however that's considered more of an "expert" knob, and the reasons for doing so are beyond the scope of that particular document. hth, Doug -- This .signature sanitized for your protection _______________________________________________ freebsd-doc@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"
文章代碼(AID): #147cOz00 (FB_doc)
文章代碼(AID): #147cOz00 (FB_doc)