krng: default entropy pool has 2kb with grsecurity.
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 4 Feb 2014 17:50:02 +0000 (18:50 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 4 Feb 2014 17:50:02 +0000 (18:50 +0100)
src/initscripts/init.d/random

index 26c64e3..57aef99 100644 (file)
@@ -15,14 +15,14 @@ case "$1" in
                        /bin/cat /var/tmp/random-seed >/dev/urandom
                fi
                /bin/dd if=/dev/urandom of=/var/tmp/random-seed \
-                       count=1 &>/dev/null
+                       count=4 &>/dev/null
                evaluate_retval
                ;;
 
        stop)
                boot_mesg "Saving random seed..."
                /bin/dd if=/dev/urandom of=/var/tmp/random-seed \
-                       count=1 &>/dev/null
+                       count=4 &>/dev/null
                evaluate_retval
                ;;