update document

Brooks Davis brooks at one-eyed-alien.net
Mon Mar 20 15:50:57 UTC 2006


On Mon, Mar 20, 2006 at 12:19:08AM -0800, Doug Barton wrote:
> Ceri Davies wrote:
> > On 15/3/06 19:15, "Alfred Morgan" <alfred.morgan at 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.

I disagree unless we're planning to deprecate set_rcvar.  Either we
should always use it in new scripts (and thus in examples) or get rid of
it.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20060320/5aa732c4/attachment.sig>


More information about the freebsd-doc mailing list