summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-01-05 01:53:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-01-05 01:53:36 +0000
commitac6fb6ee0943aba57144966ec78d9e8be187c7c3 (patch)
tree326fe1654ff7b436264123de611412a9071c1ddd /distrib/miniroot
parentc15702d356353e0585ffa2506127fbf771f71aee (diff)
We can feed_random right after mounting the filesystems, hoping we pick
up the previous kernel's /var/db/host.random ok rpe
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/upgrade.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/distrib/miniroot/upgrade.sh b/distrib/miniroot/upgrade.sh
index 1ebe2cd18ab..20089faba75 100644
--- a/distrib/miniroot/upgrade.sh
+++ b/distrib/miniroot/upgrade.sh
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: upgrade.sh,v 1.72 2012/04/21 10:17:26 henning Exp $
+# $OpenBSD: upgrade.sh,v 1.73 2014/01/05 01:53:35 deraadt Exp $
# $NetBSD: upgrade.sh,v 1.2.4.5 1996/08/27 18:15:08 gwr Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -84,6 +84,8 @@ check_fs
umount /mnt || { echo "Can't umount $ROOTDEV!" ; exit ; }
mount_fs
+feed_random
+
# Install sets.
install_sets