entropy disabled while waiting for a solution

This commit is contained in:
Jordi Sanfeliu 2018-05-15 09:48:58 +02:00
parent f260e1cdf1
commit 639e412e59
1 changed files with 4 additions and 4 deletions

View File

@ -296,10 +296,10 @@ sub system_update {
$macti = ($page_size * $macti) / 1024; $macti = ($page_size * $macti) / 1024;
$minac = ($page_size * $minac) / 1024; $minac = ($page_size * $minac) / 1024;
open(IN, "/sbin/sysctl -n kern.random.sys.seeded |"); # open(IN, "/sbin/sysctl -n kern.random.sys.seeded |");
$entropy = <IN>; # $entropy = <IN>;
close(IN); # close(IN);
chomp($entropy); # chomp($entropy);
open(IN, "/sbin/sysctl -n kern.boottime |"); open(IN, "/sbin/sysctl -n kern.boottime |");
(undef, undef, undef, $uptime) = split(' ', <IN>); (undef, undef, undef, $uptime) = split(' ', <IN>);