summaryrefslogtreecommitdiffstats
path: root/etc/rc.initdiskless
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2004-04-15 17:52:53 +0000
committerbrooks <brooks@FreeBSD.org>2004-04-15 17:52:53 +0000
commit5ba6f20e07cd479774bfe57f96ca671ca9f67d88 (patch)
treedf7d2a8525837950bebb3648bfcb875b13893024 /etc/rc.initdiskless
parentcc363f9f35fbc60cd86cd107ee3e40b017d84053 (diff)
downloadFreeBSD-src-5ba6f20e07cd479774bfe57f96ca671ca9f67d88.zip
FreeBSD-src-5ba6f20e07cd479774bfe57f96ca671ca9f67d88.tar.gz
Band-aid diskless booting by running a new preseedrandom script before
initdiskless. The output of several commands and if available the contents of /entropy are feed into /dev/random to kickstart the PRNG. /etc/rc.d/initrandom is left alone to maintain the previous behavior as much as possiable. Further work in this area is probably needed. Discussed with: markm
Diffstat (limited to 'etc/rc.initdiskless')
-rw-r--r--etc/rc.initdiskless1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless
index b84dab9..47ab3ec 100644
--- a/etc/rc.initdiskless
+++ b/etc/rc.initdiskless
@@ -26,6 +26,7 @@
#
# $FreeBSD$
#
+# REQUIRE: preseedrandom
# PROVIDE: initdiskless
# KEYWORD: FreeBSD nojail
OpenPOWER on IntegriCloud