From owner-freebsd-hackers Mon Jun 26 01:58:57 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA02777 for hackers-outgoing; Mon, 26 Jun 1995 01:58:57 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id BAA02771 for ; Mon, 26 Jun 1995 01:58:54 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id BAA03174; Mon, 26 Jun 1995 01:58:52 -0700 From: "Rodney W. Grimes" Message-Id: <199506260858.BAA03174@gndrsh.aac.dev.com> Subject: Re: Announcing 2.0.5-950622-SNAP To: imp@village.org (Warner Losh) Date: Mon, 26 Jun 1995 01:58:52 -0700 (PDT) Cc: hackers@FreeBSD.ORG In-Reply-To: <199506251934.NAA03700@rover.village.org> from "Warner Losh" at Jun 25, 95 01:34:11 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1495 Sender: hackers-owner@FreeBSD.ORG Precedence: bulk > > [[ Cc's trimmed to Rod and hackers ]] > > : I have about 12 pending changes to the /etc/sysconfig and related > : scripts, some intergrated and tested on my box, others needing some > : clean up, others needing some testing to make sure what is being > : done actually works well. > > One idea that I had was something like this: > > If you ship a "template" /etc/sysconfig, called /etc/sysconfig.tmpl > that looks like: ... [Lots of nice neat ideas using shell scripts, and other solutions...] ... > > One additional problem is /etc/rc.local. I don't recall what is > shipped by default, but I seem to recall that there was some code in > that file that should be preserved in an upgrade. By its very nature, > it is hard to quantify its contents in an /etc/sysconfig way. About the only thing in the default /etc/rc.local now is the setting of the header line in /etc/motd and the chmod of /etc/motd. That is going to die and ugly death and be replaced by something more elegant as that is one of my small thorns with RO root file systems. (Modifying a file in /etc on every single boot is slightly sick in my book :-). > > Comments? I like your idea, and I will look at details of implementing it, probably skip right over the shell mumbo jumbo and go for an m4 setup. This is just what I think the doctor ordered!!!! -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD