summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-07-17 12:28:58 +0000
committermarkm <markm@FreeBSD.org>2000-07-17 12:28:58 +0000
commit968e0bbd12ba6e07b82f33004f95a3a9cbe321dd (patch)
tree665e6cf941dd4e34afdf6ba32e2095d9928db7da /etc/defaults
parent8d7820758595ec235d4238e286c63546a533f9d3 (diff)
downloadFreeBSD-src-968e0bbd12ba6e07b82f33004f95a3a9cbe321dd.zip
FreeBSD-src-968e0bbd12ba6e07b82f33004f95a3a9cbe321dd.tar.gz
Add entropy caching. With this, some entropy is cached at shutdown
time, and this is used to reseed the random number generator at boot time. NOTE - this has no hope of working if you halt(); you need to execute rc.shutdown to get the entropy stash.
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/rc.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 36a89ff..fcdf302 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -291,6 +291,8 @@ kern_securelevel_enable="NO" # kernel security level (see init(8)),
kern_securelevel="-1" # range: -1..3 ; `-1' is the most insecure
update_motd="YES" # update version info in /etc/motd (or NO)
start_vinum="" # set to YES to start vinum
+entropy_file="/var/db/entropy"
+ # Set to NO to disable caching entropy through reboots
##############################################################
### Define source_rc_confs, the mechanism used by /etc/rc.* ##
OpenPOWER on IntegriCloud