rc.d and ports
David O'Brien
obrien at FreeBSD.org
Wed Feb 25 11:42:16 PST 2004
On Tue, Feb 24, 2004 at 10:59:07AM +0100, Oliver Eikemeier wrote:
> I guess I incorporate ${PREFIX}/etc/defaults/rc.conf and another change in
> PR 56736, the main point there was that I wanted them to participate in
...
> So I understand that sourcing ${PREFIX}/etc/defaults/rc.conf is the main
> reservation that you have against this patch?
So lets just use /etc/rc.conf.d/<package_name> with
"<package_name>_enable=yes" in it.
That keeps ports from trying to edit a critical file (/etc/rc.conf) on
install and deinstall. It also recognizes that daemon startup is an
individual system thing, not common across all mounters of $PREFIX.
More information about the freebsd-arch
mailing list