diff options
| author | Samuel Thibault <sthibault@debian.org> | 2011-08-18 23:51:12 +0000 |
|---|---|---|
| committer | Samuel Thibault <sthibault@debian.org> | 2011-08-22 00:11:04 +0000 |
| commit | 443eab01605fa044c97913b64142d7a9b5410b95 (patch) | |
| tree | e747d48dd3d552974d2dca7e36937765bb17b4b6 | |
| parent | 95fe1abb0b82ba8db6c7c2c0e0f52f8a1667cb77 (diff) | |
On upgrade from random-egd-based installations, replace the random-egd
translator
| -rw-r--r-- | debian/hurd.postinst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/hurd.postinst b/debian/hurd.postinst index 965f8ab9..4c3fc2c2 100644 --- a/debian/hurd.postinst +++ b/debian/hurd.postinst @@ -57,6 +57,12 @@ fi if [ "$1" = configure ] && [ "$2" ]; then # Upgrade: create the missing device and server nodes + if showtrans /dev/random 2> /dev/null | grep -q /tmp/entropy.sock + then + # old random-egd translator, remove + settrans -g /dev/random + settrans -g /dev/urandom + fi /usr/lib/hurd/setup-translators -K fi |
