Date: Sun, 26 Nov 2006 21:14:22 +0300 From: Yar Tikhiy <yar@comp.chem.msu.su> To: Florent Thoumie <flz@FreeBSD.org> Cc: freebsd-rc@FreeBSD.org Subject: Re: rcvar function in rc.subr Message-ID: <20061126181422.GA66009@comp.chem.msu.su> In-Reply-To: <4569A113.5080106@FreeBSD.org> References: <1161268403.89897.1.camel@mayday.esat.net> <20061126121907.GC60959@comp.chem.msu.su> <4569A113.5080106@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 26, 2006 at 02:13:39PM +0000, Florent Thoumie wrote: > 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. Then just do it! Well, if no serious objections appear in a reasonable period of time. Personally, I'm happy with the change -- I'm just not enough unhappy with the current bogosity. :-) -- Yar
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061126181422.GA66009>