[PATCH] Allow use of program path overrides
Doug Barton
dougb at FreeBSD.org
Thu Sep 6 22:03:30 UTC 2012
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.
> However, some are missing the functionality to override $command
> correctly.
rc.subr should already do that. Have you tested it?
> The attached patch:
>
> - Adds missing "${name}_program=/path/to/${name}" entries to
> defaults/rc.conf
Please don't do that. :)
> - Adds missing functionality of setting
> "command=${foo_program:-/path/to/foo}" in corresponding rc(8)
> scripts.
Please don't do this either. :)
--
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)
More information about the freebsd-rc
mailing list