Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
rc.boot: Add message about entropy generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Sep 2, 2019
1 parent 48613cd commit c656d89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/init/rc.boot
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ main() {
if [ -f /var/random.seed ]; then
cat /var/random.seed > /dev/urandom
else
log "This may hang."
log "Mash the keyboard to generate entropy..."

dd count=1 bs=512 if=/dev/random of=/var/random.seed
fi
}
Expand Down

0 comments on commit c656d89

Please sign in to comment.