From owner-cvs-all Tue Oct 1 17:59:16 2002
Delivered-To: cvs-all@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP
id AA4EE37B401; Tue, 1 Oct 2002 17:59:15 -0700 (PDT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
by mx1.FreeBSD.org (Postfix) with ESMTP
id 713F443E81; Tue, 1 Oct 2002 17:59:15 -0700 (PDT)
(envelope-from dd@FreeBSD.org)
Received: from freefall.freebsd.org (dd@localhost [127.0.0.1])
by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g920xECo056717;
Tue, 1 Oct 2002 17:59:15 -0700 (PDT)
(envelope-from dd@freefall.freebsd.org)
Received: (from dd@localhost)
by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g920xE4v056716;
Tue, 1 Oct 2002 17:59:14 -0700 (PDT)
Message-Id: <200210020059.g920xE4v056716@freefall.freebsd.org>
From: Dima Dorfman
Date: Tue, 1 Oct 2002 17:59:14 -0700 (PDT)
To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject: cvs commit: src/etc rc src/etc/rc.d initdiskless
X-FreeBSD-CVS-Branch: HEAD
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk
List-ID:
List-Archive: (Web Archive)
List-Help: (List Instructions)
List-Subscribe:
List-Unsubscribe:
X-Loop: FreeBSD.ORG
dd 2002/10/01 17:59:14 PDT
Modified files:
etc rc
etc/rc.d initdiskless
Log:
In a diskless setup, rc.d/initdiskless may overwrite parts of /etc on
a per-machine or per-cluster (with different ways of expressing what's
part of a cluster) basis. In order for this to be effective, rc.conf
has to be reread after initdiskless is finished. Implement this by
adding a hook to etc/rc which rereads rc.conf by request. This can
also be implemented by renaming initdiskless to initdiskless.sh and
sourcing rc.conf there manually, but it was decided that, that would
be uglier than a hook in etc/rc.
Developed in concert with: gordon
Revision Changes Path
1.320 +7 -0 src/etc/rc
1.20 +2 -0 src/etc/rc.d/initdiskless
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message