aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-08-20 04:24:00 +0000
committerBill Nottingham <notting@redhat.com>2004-08-20 04:24:00 +0000
commitc460dc7cbc3c2a9cd974b2da1b99a82a262991be (patch)
treed3c9f90b0e583a6d28c739f63716cde555be3d58
parentd0b0e914811a3029db21b9471b22e7fd4c20de4c (diff)
downloadinitscripts-c460dc7cbc3c2a9cd974b2da1b99a82a262991be.tar
initscripts-c460dc7cbc3c2a9cd974b2da1b99a82a262991be.tar.gz
initscripts-c460dc7cbc3c2a9cd974b2da1b99a82a262991be.tar.bz2
initscripts-c460dc7cbc3c2a9cd974b2da1b99a82a262991be.tar.xz
initscripts-c460dc7cbc3c2a9cd974b2da1b99a82a262991be.zip
check for dev file too (#130350)
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index a6979471..68c69df2 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -664,7 +664,7 @@ 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
+[ -x /sbin/rngd -a -f /dev/hw_random ] && rngd
# Configure machine if necessary.
if [ -f /.unconfigured ]; then