diff options
| author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2000-08-21 14:33:20 +0000 |
|---|---|---|
| committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2000-08-21 14:33:20 +0000 |
| commit | cbc43d2db39c87fe40ac7c1d7baeed1fd6c4da52 (patch) | |
| tree | fec822e97f2c36238a9ccb0f8ed9fde438ead423 | |
| parent | c90be480126c249bc75c3aa061e1fdd386b3523d (diff) | |
Notes
| -rw-r--r-- | etc/rc | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -140,15 +140,7 @@ case ${entropy_file} in *) if [ -f ${entropy_file} -a -r ${entropy_file} -a -w /dev/random ]; then echo "Reading entropy file" - if ! cat ${entropy_file} 2>/dev/null >/dev/random; then - if ! kldstat -n randomdev >/dev/null 2>&1; then - kldload randomdev && \ - cat ${entropy_file} 2>/dev/null >/dev/random - fi - fi - if [ $? != 0 ]; then - echo "Writing entropy file to /dev/random failed" - fi + cat ${entropy_file} > /dev/random rm -f ${entropy_file} fi ;; |
