Feature Request: /usr/local/etc/rc.conf support

Scot W. Hetzel hetzelsw at westbend.net
Thu Feb 19 09:46:18 PST 2004


From: "Ade Lovett" <ade at freebsd.org>
> Since we already have (now) /etc/rc.d, /usr/local/etc/rc.d, and
> /usr/X11R6/etc/rc.d launching scripts left, right, and center, it does
> not seem unreasonable to have equivalent etc/rc.conf and etc/conf.d
> mechansisms, so that changes can be kept in isolation from each other.
>
Before I submitted the port for rc_subr and the patch to bsd.port.mk for
USE_RC_SUBR, I had a created a patch to rc.subr that added a new function
(load_local_rc_config).

http://www.freebsd.org/cgi/getmsg.cgi?fetch=1539716+1545012+/usr/local/www/db/text/2002/freebsd-current/20021006.freebsd-current

http://www.freebsd.org/cgi/query-pr.cgi?pr=44800

 It would have allowed ports to place their settings into
PREFIX/etc/rc.conf.d/${name}. The patch was sent for review to the -CURRENT
mailing list, as a PR (conf/44800) and to gordon who was bringing rcNG into
FreeBSD.  Unfortunately, I can't find any responses to the patch.

About a year later, I closed the PR and submitted the rc_subr port without
the change to rc.subr.

If you feel that we need this functionality, ask someone to re-open PR
conf/44800 and have the rcNG maintainer look at it.

Scot



More information about the freebsd-ports mailing list