summaryrefslogtreecommitdiffstats
path: root/etc/defaults/rc.conf
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2001-03-01 13:19:49 +0000
committerdougb <dougb@FreeBSD.org>2001-03-01 13:19:49 +0000
commita488c869eddffac7352b85fce60036c065b4e27e (patch)
treead0f1dd8e80b762ead7900da3610f3670fd1599c /etc/defaults/rc.conf
parente34b063c8f640ab5d69ce191c90efc5cbbc675dd (diff)
downloadFreeBSD-src-a488c869eddffac7352b85fce60036c065b4e27e.zip
FreeBSD-src-a488c869eddffac7352b85fce60036c065b4e27e.tar.gz
Add code to turn on the entropy harvesting sysctl's as early as possible
during the boot process. We're turning it on by default, based on the actual presence of a configured ethernet card, and/or ppp/tun devices. Of course, it's easy to disable in rc.conf.
Diffstat (limited to 'etc/defaults/rc.conf')
-rw-r--r--etc/defaults/rc.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 0607ba9..47789db 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -332,6 +332,9 @@ entropy_file="/entropy" # Set to NO to disable caching entropy through reboots.
entropy_dir="/var/db/entropy" # Set to NO to disable caching entropy via cron.
entropy_save_sz="2048" # Size of the entropy cache files.
entropy_save_num="8" # Number of entropy cache files to save.
+harvest_interrupt="YES" # Entropy device harvests interrupt randomness
+harvest_ethernet="" # Entropy device harvests ethernet randomness
+harvest_p_to_p="" # Entropy device harvests point-to-point randomness
##############################################################
### Define source_rc_confs, the mechanism used by /etc/rc.* ##
OpenPOWER on IntegriCloud