]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Get rid of the postrandom script. It was born in a time when the
authorDag-Erling Smørgrav <des@FreeBSD.org>
Sun, 2 Nov 2014 01:47:27 +0000 (01:47 +0000)
committerDag-Erling Smørgrav <des@FreeBSD.org>
Sun, 2 Nov 2014 01:47:27 +0000 (01:47 +0000)
commit7417198fcf8ee28079f8d31248f677dc0ad9b741
tree54a33f8a84924e39197c127babbb6284c45fe5f6
parentd3f3e12a4ff5f64ea6b6d1463bac815f738fc95e
Get rid of the postrandom script.  It was born in a time when the
random script ran before filesystems were mounted, which is no
longer the case.

In random_start(), immediately delete each file that is fed into
/dev/random, and recreate the default entropy file immediately
after reading and deleting it.  The logic used in random_stop()
to determine which file to write to should probably be factored
out and used here as well.
ObsoleteFiles.inc
etc/rc.d/Makefile
etc/rc.d/adjkerntz
etc/rc.d/postrandom [deleted file]
etc/rc.d/random