From 02891f1c55fa404da07d9fecfbd859b48ab3a2f7 Mon Sep 17 00:00:00 2001 From: brooks Date: Fri, 29 Apr 2005 23:02:56 +0000 Subject: 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 --- etc/rc.initdiskless | 7 ------- 1 file changed, 7 deletions(-) (limited to 'etc/rc.initdiskless') 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: # -- cgit v1.1