7 # REQUIRE: initrandom random FILESYSTEMS
14 start_cmd="${name}_start"
17 # This will remove old ${entropy_file} and generate a new one.
18 # According to Bruce Schneier, this is strongly recommended in order
19 # to avoid using same ${entropy_file} across reboots.
20 # Reference: Chapter 10.6, Practical Cryptography, ISBN: 0-471-22357-3
24 /etc/rc.d/random fastsaveseed
26 case ${entropy_dir} in
30 entropy_dir=${entropy_dir:-/var/db/entropy}
31 if [ -d "${entropy_dir}" ]; then
32 if [ -w /dev/random ]; then
33 rm -f ${entropy_dir}/*