Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 2006 13:25:15 -0800
From:      Alexander Botero-Lowry <alexbl@freebsd.org>
To:        Yar Tikhiy <yar@comp.chem.msu.su>
Cc:        freebsd-rc@freebsd.org, Florent Thoumie <flz@freebsd.org>
Subject:   Re: rcvar function in rc.subr 
Message-ID:  <200611262125.kAQLPFHS029942@Laptop.mine.box>
In-Reply-To: <20061126181422.GA66009@comp.chem.msu.su> 
References:  <1161268403.89897.1.camel@mayday.esat.net> <20061126121907.GC60959@comp.chem.msu.su> <4569A113.5080106@FreeBSD.org> <20061126181422.GA66009@comp.chem.msu.su>

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. :-)
> 
Err, why is it a good idea to break compatability with NetBSD?

This means that tools written for rc.d that use rcvar (chkconfig clone for
example) have to have behavior written for both NetBSD and FreeBSD instead 
of just having consistent behavior. 


> -- 
> Yar
> _______________________________________________
> freebsd-rc@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-rc
> To unsubscribe, send any mail to "freebsd-rc-unsubscribe@freebsd.org"
> 
> !DSPAM:4,4569da3d491182008912897!
> 
> 



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