Commit 64526bc6 authored by Mike Hibler's avatar Mike Hibler
Browse files

Keep /dev/random more random on Linux as well.

parent 070cd1f0
......@@ -239,6 +239,11 @@ dolinux() {
linux=`lilogetkernel $lconf`
fi
if [ -f /mnt/var/lib/random-seed -a -c /dev/urandom ]; then
echo " updating /var/lib/random-seed"
dd if=/dev/urandom of=/mnt/var/lib/random-seed bs=512 count=1 >/dev/null 2>&1
fi
umount $rootdev
if [ "x${linux}" != x ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment