Subject: /etc/*.conf reorg (was Re: `rc.local.conf': bad nam )
To: None <tech-userlevel@netbsd.org>
From: Luke Mewburn <lukem@cs.rmit.edu.au>
List: tech-userlevel
Date: 08/12/2000 03:25:42
Todd Vierling writes:
> This isn't a config file for rc.local; it's a local configuration overrides
> file for rc.conf.  Therefore, shouldn't this be named `rc.conf.local' (note
> the swap of the last two parts)?

I seen that the history behind the name choice has already been
discussed, so I won't bother again.

I have an alternate suggestion:

* move all the existing `template' /etc/*.conf to /etc/default/*.conf

* change each of the *.conf files to something like:

  -- /etc/rc.conf --
	# Read in defaults.  Add local overrides below.
	#
	if [ -r /etc/default/rc.conf ]; then
		. /etc/default/rc.conf
	fi

	# Set to YES once you've added your local defaults
	#
	rc_configured=NO

	# Add local overrides below
	#
  -- --

* update the manual pages as appropriate.


luke.