Use dd to better block the data being sent to /dev/random.

Note: I am not redirecting stdout so that the amount of
      data being transferred can be seen (22k and 576k currently).
This commit is contained in:
John W. De Boskey 2000-10-18 05:29:26 +00:00
parent 0cb53e2487
commit b082b24f98
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67279

4
etc/rc
View File

@ -203,10 +203,10 @@ yes)
# Entropy below is not great,
# but better than nothing.
(ps -gauxwww; iostat; vmstat; sysctl -a;
dmesg) > /dev/random 2> /dev/random
dmesg) | /bin/dd of=/dev/random bs=8k
( for i in /etc /var/run ; do
cd $i ; ls -al ; cat *
done ) > /dev/random 2> /dev/random
done ) | /bin/dd of=/dev/random bs=8k
fi
fi
;;