From 1d745d28e084a3788c31b05bf0fad06417cdbf48 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Fri, 20 Oct 2000 17:41:46 +0000 Subject: [PATCH] Redirect the stderr of dd to /dev/null so the user doesn't see rather weird dd output on bootup as /dev/random is being reseeded. Also, can't this happen in the background since /dev/random blocks? --- etc/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc b/etc/rc index ca91c420a138..1c16f05bf350 100644 --- a/etc/rc +++ b/etc/rc @@ -203,10 +203,10 @@ yes) # Entropy below is not great, # but better than nothing. (ps -gauxwww; iostat; vmstat; sysctl -a; - dmesg) | /bin/dd of=/dev/random bs=8k + dmesg) | /bin/dd of=/dev/random bs=8k 2>/dev/null ( for i in /etc /var/run ; do cd $i ; ls -al ; cat * - done ) | /bin/dd of=/dev/random bs=8k + done ) | /bin/dd of=/dev/random bs=8k 2>/dev/null fi fi ;;