]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In a diskless setup, rc.d/initdiskless may overwrite parts of /etc on
authordd <dd@FreeBSD.org>
Wed, 2 Oct 2002 00:59:14 +0000 (00:59 +0000)
committerdd <dd@FreeBSD.org>
Wed, 2 Oct 2002 00:59:14 +0000 (00:59 +0000)
commit850da56a4943e81016cc035648c2f6659c4ec614
treee8f07309beebbe0b2cd862bdc8592654f5403dd0
parente6b1ede7fbd2b3494c0d1d8de1a5c68e2c7f8d93
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
etc/rc
etc/rc.d/initdiskless
etc/rc.initdiskless