diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-11-06 02:39:53 +0100 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-11-06 02:39:53 +0100 |
| commit | b2311a695c96b45d1af616e7b68c49604e9a9450 (patch) | |
| tree | 260fa857dca50e65c44f752ec020a94d19e00abc | |
| parent | 9de2db86b581cb0553d92c41191a53f35a67290b (diff) | |
comments
| -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 |
