Date: Sun, 26 Nov 2006 14:13:39 +0000 From: Florent Thoumie <flz@FreeBSD.org> To: Yar Tikhiy <yar@comp.chem.msu.su> Cc: freebsd-rc@freebsd.org Subject: Re: rcvar function in rc.subr Message-ID: <4569A113.5080106@FreeBSD.org> In-Reply-To: <20061126121907.GC60959@comp.chem.msu.su> References: <1161268403.89897.1.camel@mayday.esat.net> <20061126121907.GC60959@comp.chem.msu.su>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Yar Tikhiy wrote: > On Thu, Oct 19, 2006 at 03:33:23PM +0100, Florent Thoumie wrote: >> Does anybody have a clue why /etc/rc.d/foo rcvar prints a leading '$' >> before the variable name? Doesn't make much sense with /bin/sh. > > Sorry for the late reply. According to the CVS history, the code > was just imported from NetBSD. Perhaps it's too late to change it > as people are likely to have workarounds for it already. Of course, > $foo_enable=YES looks ugly and has a different meaning in sh(1). Well, it may be worth fixing in HEAD even if we don't MFC the change. -- Florent Thoumie flz@FreeBSD.org FreeBSD Committer [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFaaEXMxEkbVFH3PQRCr6oAKCEgUrP38sNpxZ2zIHvvkraLtWxZwCfTjnh qBDIDCIDTtmExQXAIRwZjAs= =JZxe -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4569A113.5080106>
