diff options
-rw-r--r-- | debian/hurd.postinst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/hurd.postinst b/debian/hurd.postinst index e512f5cd..f6b0ead5 100644 --- a/debian/hurd.postinst +++ b/debian/hurd.postinst @@ -69,6 +69,9 @@ if [ "$1" = configure ] && [ "$2" ]; then update-alternatives --install /dev/random random /dev/random-hurd 10 \ --slave /dev/urandom urandom /dev/urandom-hurd + # Generate initial pool [ -f /var/spool/random-seed ] || dd < /dev/urandom > /var/spool/random-seed bs=1 count=600 + # TODO: will need to run settrans -ga /dev/random at system stop to make + # it save it back fi |