Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 1997 13:42:30 -0700 (PDT)
From:      "Jonathan M. Bresler" <jmb>
To:        luigi@labinfo.iet.unipi.it (Luigi Rizzo)
Cc:        fullermd@narcissus.ml.org, giles@nemeton.com.au, jkh@time.cdrom.com, hackers@FreeBSD.org
Subject:   Re: on the subject of changes to -RELEASEs...
Message-ID:  <199704132042.NAA23222@freefall.freebsd.org>
In-Reply-To: <199704131157.NAA23250@labinfo.iet.unipi.it> from "Luigi Rizzo" at Apr 13, 97 01:56:59 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Luigi Rizzo wrote:
> 
> > 	2. edit /etc/sysconfig to contain shell HERE documents.
> > 	   if a shell variable is set (CONFIGETC ?) then and only then
> > 	   are the HERE documents used to replace the contents of the
> > 	   files in /etc.   the location _does_not_chnage_.
> > 
> > 	   to clone a box, all you would need to do is copy /etc/sysconfig
> > 	   to another computer and set CONFIGETC in /etc/sysconfig.
> 
> i see two minor difficulties here, i) /etc/sysconfig might be run several
> times at boot time since different files might need its variables, and
> ii) a way is needed to make sysconfig reflect changes to the various
> files. The first is only (hopefully) a problem of efficiency, the
> second means that you cannot really clone a system using this method.

	people have been clamouring for a shutdown script.
	creating the HERE documents in /etc/sysconfig 
	(when this option is enabled)
	could be one of the tasks of the shutdown script.
jmb



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704132042.NAA23222>