mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 04:05:53 +02:00
krng: default entropy pool has 2kb with grsecurity.
This commit is contained in:
@@ -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
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user