aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-08-19 04:57:00 +0000
committerBill Nottingham <notting@redhat.com>2004-08-19 04:57:00 +0000
commit42c738eeb7a48eba758d77a5ca0a7097713bb841 (patch)
tree32145213f6e90dfb089c038ca928c58d03493fbc
parent442f93fa9edf617eee24701e274b96d9917e1ab6 (diff)
downloadinitscripts-42c738eeb7a48eba758d77a5ca0a7097713bb841.tar
initscripts-42c738eeb7a48eba758d77a5ca0a7097713bb841.tar.gz
initscripts-42c738eeb7a48eba758d77a5ca0a7097713bb841.tar.bz2
initscripts-42c738eeb7a48eba758d77a5ca0a7097713bb841.tar.xz
initscripts-42c738eeb7a48eba758d77a5ca0a7097713bb841.zip
use rngd if available
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 88ab6126..a6979471 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -663,6 +663,8 @@ fi
chmod 600 /var/lib/random-seed
dd if=/dev/urandom of=/var/lib/random-seed count=1 bs=512 2>/dev/null
+# Use the hardware RNG to seed the entropy pool, if available
+[ -x /sbin/rngd ] && rngd
# Configure machine if necessary.
if [ -f /.unconfigured ]; then