version 1.426, 2014/04/24 15:05:10 |
version 1.427, 2014/04/25 17:59:53 |
|
|
|
|
random_seed() |
random_seed() |
{ |
{ |
{ |
# push the old seed into the kernel |
# push the old seed into the kernel |
dd if=/var/db/host.random of=/dev/random bs=65536 count=1 status=none |
dd if=/var/db/host.random of=/dev/random bs=65536 count=1 |
chmod 600 /var/db/host.random |
chmod 600 /var/db/host.random |
# ... and create a future seed |
# ... and create a future seed |
dd if=/dev/random of=/var/db/host.random bs=65536 count=1 status=none |
dd if=/dev/random of=/var/db/host.random bs=65536 count=1 |
# and create a seed file for the boot-loader |
# and create a seed file for the boot-loader |
dd if=/dev/random of=/etc/random.seed bs=512 count=1 status=none |
dd if=/dev/random of=/etc/random.seed bs=512 count=1 |
chmod 600 /etc/random.seed |
chmod 600 /etc/random.seed |
|
} > /dev/null 2>&1 |
|
} |
} |
|
|
fill_baddynamic() |
fill_baddynamic() |