summaryrefslogtreecommitdiffstats
path: root/etc/rc.initdiskless
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-04-29 23:02:56 +0000
committerbrooks <brooks@FreeBSD.org>2005-04-29 23:02:56 +0000
commit02891f1c55fa404da07d9fecfbd859b48ab3a2f7 (patch)
tree249bfb21e35a4890089a544e00c3e48a83fa148a /etc/rc.initdiskless
parentf72e92f1b17fcf238bbfedf24af2d5afb0f24928 (diff)
downloadFreeBSD-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.initdiskless7
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:
#
OpenPOWER on IntegriCloud