summaryrefslogtreecommitdiff
path: root/debian/hurd.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/hurd.postinst')
-rw-r--r--debian/hurd.postinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/hurd.postinst b/debian/hurd.postinst
index f796a39a..e512f5cd 100644
--- a/debian/hurd.postinst
+++ b/debian/hurd.postinst
@@ -68,5 +68,7 @@ if [ "$1" = configure ] && [ "$2" ]; then
/usr/lib/hurd/setup-translators -K
update-alternatives --install /dev/random random /dev/random-hurd 10 \
--slave /dev/urandom urandom /dev/urandom-hurd
+
+ [ -f /var/spool/random-seed ] || dd < /dev/urandom > /var/spool/random-seed bs=1 count=600
fi