Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 2006 15:19:07 +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:  <20061126121907.GC60959@comp.chem.msu.su>
In-Reply-To: <1161268403.89897.1.camel@mayday.esat.net>
References:  <1161268403.89897.1.camel@mayday.esat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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).

-- 
Yar



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061126121907.GC60959>