summaryrefslogtreecommitdiff
path: root/distrib/miniroot/install.sh
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2010-12-22 21:23:27 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2010-12-22 21:23:27 +0000
commita86c85a6f6b88838143581809fa7f32b60c37cbc (patch)
tree82afd2ff78db855854951ad88aaf0d846a074765 /distrib/miniroot/install.sh
parente0664791d313d192c0fc5b537343603bd388521b (diff)
add more commands of output of random "junk" to arandom
please commit deraadt@
Diffstat (limited to 'distrib/miniroot/install.sh')
-rw-r--r--distrib/miniroot/install.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh
index d0f79e83da6..fa106d6ff77 100644
--- a/distrib/miniroot/install.sh
+++ b/distrib/miniroot/install.sh
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sh,v 1.212 2010/12/22 18:23:54 deraadt Exp $
+# $OpenBSD: install.sh,v 1.213 2010/12/22 21:23:26 todd Exp $
# $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -272,7 +272,8 @@ for _f in fstab hostname* kbdtype my* ttys *.conf *.tail; do
done )
# Feed the random pool some junk before we read from it
-dmesg >/mnt/dev/arandom
+(dmesg; cat $SERVERLISTALL; sysctl; route -n show; df;
+ ifconfig -A; hostname) >/mnt/dev/arandom 2>&1
cat $SERVERLISTALL >/mnt/dev/arandom 2>/dev/null
echo -n "done.\nGenerating initial host.random file..."