Revert "krng: use kernel entropy if no random-seed is stored."
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 4 Feb 2014 17:49:00 +0000 (18:49 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 4 Feb 2014 17:49:00 +0000 (18:49 +0100)
This reverts commit 1c72742bca7e8e5e6151c77481e9110f6b8a1cf4.

src/initscripts/init.d/random

index 7159b53..26c64e3 100644 (file)
@@ -13,9 +13,6 @@ case "$1" in
                boot_mesg "Initializing kernel random number generator..."
                if [ -f /var/tmp/random-seed ]; then
                        /bin/cat /var/tmp/random-seed >/dev/urandom
-               else
-               /bin/dd if=/dev/random of=/dev/urandom \
-                       count=1 &>/dev/null
                fi
                /bin/dd if=/dev/urandom of=/var/tmp/random-seed \
                        count=1 &>/dev/null