Date: Thu, 06 Sep 2012 16:36:47 -0700 From: Doug Barton <dougb@FreeBSD.org> To: Glen Barber <gjb@FreeBSD.org> Cc: rc@FreeBSD.org Subject: Re: [PATCH] Allow use of program path overrides Message-ID: <5049338F.5060702@FreeBSD.org> In-Reply-To: <20120906221036.GF1332@glenbarber.us> References: <20120906195706.GD1332@glenbarber.us> <50491DB2.1020702@FreeBSD.org> <20120906221036.GF1332@glenbarber.us>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9/6/2012 3:10 PM, Glen Barber wrote: > On Thu, Sep 06, 2012 at 03:03:30PM -0700, Doug Barton wrote: >> On 9/6/2012 12:57 PM, Glen Barber wrote: >>> Hi, >>> >>> Many rc(8) scripts have corresponding 'foo_program="/path/to/foo"' >>> entries in etc/defaults/rc.conf . >> >> These are usually only added for things that might get overridden by >> something from ports. >> > > I can think of valid reasons one might want to do this otherwise. Me too, but I would prefer not to clutter defaults/rc.conf without good reason. The fact that no variable is in there doesn't mean that users can't still do it if they need to. >>> However, some are missing the functionality to override $command >>> correctly. >> >> rc.subr should already do that. Have you tested it? >> > > Yes. See the previous thread on -rc@ . David never mentioned that he actually tested it, and just confirmed that he didn't. Did you actually test it? Doug -- I am only one, but I am one. I cannot do everything, but I can do something. And I will not let what I cannot do interfere with what I can do. -- Edward Everett Hale, (1822 - 1909)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5049338F.5060702>