Re: Moving /etc/rc.conf.local to /usr/local/etc/rc.conf
Date: Sun, 07 Jan 2024 04:10:31 UTC
> Thank you for pointing out that entry in the rc.conf(5) man page! I guess I either didn’t pay too much attention to it at first, and/or I was thrown off either by the meaning of “(dir)” in that paragraph, which I can only assume maps to /usr/local/etc (but I still haven’t tested to confirm that), or by the fact that you can only use “(name)” configuration files inside rc.conf.d within “(dir)”, rather than just a plain rc.conf file within “(dir)”. > > So, if I’m I’m understanding correctly, that’d mean that I can have configuration files (*NOT* script files, which would go inside “(dir)”/rc.d) such as: > > /usr/local/etc/rc.conf.d/apache24 > /usr/local/etc/rc.conf.d/php-fpm Sure. > but not a single one named: > > /usr/local/etc/rc.conf Um, if you'd read to the end of that paragraph, you'd have found rc_conf_files which lists individual files to include. These are just files of shell commands that are included by the startup scripts. Take a look at /etc/defaults/rc.conf (described in the third paragraph of that same man page) and see what it does. Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly