diff options
author | brooks <brooks@FreeBSD.org> | 2005-04-29 23:02:56 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2005-04-29 23:02:56 +0000 |
commit | 02891f1c55fa404da07d9fecfbd859b48ab3a2f7 (patch) | |
tree | 249bfb21e35a4890089a544e00c3e48a83fa148a /etc/rc.initdiskless | |
parent | f72e92f1b17fcf238bbfedf24af2d5afb0f24928 (diff) | |
download | FreeBSD-src-02891f1c55fa404da07d9fecfbd859b48ab3a2f7.zip FreeBSD-src-02891f1c55fa404da07d9fecfbd859b48ab3a2f7.tar.gz |
To allow /etc to be as minimal as possible in a diskless setup, we need
to run initdiskless before we run rcorder on /etc/rc.d. To allow this,
move /etc/rc.d/initdiskless to /etc/rc.initdiskless and run it directly
from /etc/rc.
Remove /etc/rc.d/preseedrandom as it is no longer necessicary (we start
with entropy unblocked) and was only used by initdiskless when it
was needed.
Discussed on: freebsd-rc
Repocopy by: peter
Diffstat (limited to 'etc/rc.initdiskless')
-rw-r--r-- | etc/rc.initdiskless | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless index 68f6703..b536021 100644 --- a/etc/rc.initdiskless +++ b/etc/rc.initdiskless @@ -25,12 +25,6 @@ # SUCH DAMAGE. # # $FreeBSD$ -# -# PROVIDE: initdiskless -# REQUIRE: preseedrandom -# BEFORE: rcconf -# KEYWORD: nojail - # On entry to this script the entire system consists of a read-only root # mounted via NFS. The kernel has run BOOTP and configured an interface @@ -125,7 +119,6 @@ # (end of documentation, now get to the real code) dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null` -[ ${dlv:=0} -eq 0 ] && [ ! -f /etc/diskless ] && exit 0 # chkerr: # |