mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 06:42:45 +00:00
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:
parent
0cb53e2487
commit
b082b24f98
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67279
4
etc/rc
4
etc/rc
@ -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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user