diff options
author | Hugh Graham <hugh@cvs.openbsd.org> | 2002-07-21 04:57:02 +0000 |
---|---|---|
committer | Hugh Graham <hugh@cvs.openbsd.org> | 2002-07-21 04:57:02 +0000 |
commit | 03699d6c8936410f03ef30fe766160909df4d1ee (patch) | |
tree | 270b595f2fdbf503d56513472f457c9b9a989c24 /distrib/miniroot/install.sh | |
parent | 97265011059124f442b1289ed8a54f854b696ec2 (diff) |
Put a doing...done wrapper around creation of the host.random file
as this takes so long inside simh that people were assuming the
system had hung. Grows install.sh 66 bytes, but krw said ok anyway!
Diffstat (limited to 'distrib/miniroot/install.sh')
-rw-r--r-- | distrib/miniroot/install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh index 04e28790d1a..1933394edad 100644 --- a/distrib/miniroot/install.sh +++ b/distrib/miniroot/install.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: install.sh,v 1.107 2002/07/13 16:32:13 krw Exp $ +# $OpenBSD: install.sh,v 1.108 2002/07/21 04:57:01 hugh Exp $ # $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $ # # Copyright (c) 1997-2002 Todd Miller, Theo de Raadt, Ken Westerback @@ -330,8 +330,10 @@ w q" | ed /mnt/etc/master.passwd 2> /dev/null /mnt/usr/sbin/pwd_mkdb -p -d /mnt/etc /etc/master.passwd +echo -n "Generating initial host.random file ..." dd if=/mnt/dev/urandom of=/mnt/var/db/host.random bs=1024 count=64 >/dev/null 2>&1 chmod 600 /mnt/var/db/host.random >/dev/null 2>&1 +echo "...done." # Perform final steps common to both an install and an upgrade. finish_up |