rc variables (Re: cups)
joerg at britannica.bec.de
joerg at britannica.bec.de
Mon Apr 10 11:55:57 PDT 2006
On Mon, Apr 10, 2006 at 10:49:27AM -0700, Matthew Dillon wrote:
> :I agree 100%. It'd also be good for documentation, because I don't think
> :anyone's gone through the docs to do s/_enable//g yet.
>
> I rather wish pkgsrc used blah_enable instead of overloading the RC
> namespace the way they do. I really prefer the _enable version.
> I guess it wouldn't be too bad of a hack to support both methods.
Unlikely. The _enable version was a hack FreeBSD added when import
NetBSD RC system and it doesn't add any value but creating another
function call. Or to make it even blunter: the use of set_rcvar doesn't
work on !FreeBSD, !DragonFly at all.
Joerg
More information about the Users
mailing list