mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 06:42:45 +00:00
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?
This commit is contained in:
parent
2af8bc5b22
commit
1d745d28e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67383
4
etc/rc
4
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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user