Subject: Re: misc/1919: merging functionality of netstart, etc, into rc
To: None <thorpej@nas.nasa.gov>
From: Gordon W. Ross <gwr@mc.com>
List: netbsd-bugs
Date: 01/10/1996 12:15:12
> From: Jason Thorpe <thorpej@nas.nasa.gov>
> Date: Tue, 09 Jan 1996 21:25:09 -0800

> On Wed, 10 Jan 1996 12:38:39 +1100 
>  Luke Mewburn <lukem@supp.cpr.itg.telecom.com.au> wrote:
> 
>  > 	After the changes, the following files are superfluous and can
>  > 	be removed from the src tree and /etc:
>  > 		ifaliases
>  > 		myname
>  > 		mygate
>  > 		defaultdomain
>  > 		hostname.*
>  > 		netstart
> 
> The problem with this approach is that it makes it more difficult for 
> install scripts to work configuration magic.  Note how the sparc and 
> hp300 install scripts have an easy time configuring network interfaces, 
> hostname, etc. by simply creating the appropriate files, rather than 
> having to go through a complex editing process on a file which won't 
> contain any special keywords like __REPLACE_ME, or whatever.

This would not be difficult to deal with.  The install program can
just store those pieces of information in shell variables, and when
everything is known, generate the rc.conf file with echo commands.

Gordon