summaryrefslogtreecommitdiffstats
path: root/sys/modules/random
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-12-02 18:29:18 +0000
committermarkm <markm@FreeBSD.org>2000-12-02 18:29:18 +0000
commit14f55e3a6c89a035a91fd7bac35f408377407234 (patch)
tree3d3a888a3f0d0e21577be398320a43ed585ec1d3 /sys/modules/random
parentc1744a5f77132fb6fae2b511901a07de7f2e72c7 (diff)
downloadFreeBSD-src-14f55e3a6c89a035a91fd7bac35f408377407234.zip
FreeBSD-src-14f55e3a6c89a035a91fd7bac35f408377407234.tar.gz
Default the /dev/random loadable module to blocking-on-bootup,
but leave a commented-out macro to change this.
Diffstat (limited to 'sys/modules/random')
-rw-r--r--sys/modules/random/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/modules/random/Makefile b/sys/modules/random/Makefile
index d736feb..84021c8 100644
--- a/sys/modules/random/Makefile
+++ b/sys/modules/random/Makefile
@@ -9,7 +9,10 @@ SRCS += vnode_if.h opt_noblockrandom.h
CFLAGS += -I${.CURDIR}/../..
NOMAN = yes
-NOBLOCKRANDOM= yes
+# Uncomment the below macro to make a /dev/random that will not block at
+# boot time. Useful for personal workstations and the like where reboot
+# speed is paramount.
+#NOBLOCKRANDOM= yes
.if defined(NOBLOCKRANDOM)
RANDOM_OPTS= "\#define NOBLOCKRANDOM"
.endif
OpenPOWER on IntegriCloud