diff options
author | Robert Peichaer <rpe@cvs.openbsd.org> | 2015-04-06 21:36:57 +0000 |
---|---|---|
committer | Robert Peichaer <rpe@cvs.openbsd.org> | 2015-04-06 21:36:57 +0000 |
commit | ef33db80a302b7c92de576e303ce5de76dc0ed46 (patch) | |
tree | 46c4c9d713481f23ae2a689d7972059606a90db2 /distrib/miniroot/upgrade.sh | |
parent | f829af5ba4ee08401764829c38dca679f5996021 (diff) |
Moar comments !! Explain what's going on during install / upgrade.
OK krw@
Diffstat (limited to 'distrib/miniroot/upgrade.sh')
-rw-r--r-- | distrib/miniroot/upgrade.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/distrib/miniroot/upgrade.sh b/distrib/miniroot/upgrade.sh index b2b87fa93a6..aa37997fda2 100644 --- a/distrib/miniroot/upgrade.sh +++ b/distrib/miniroot/upgrade.sh @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: upgrade.sh,v 1.85 2015/04/04 14:21:01 rpe Exp $ +# $OpenBSD: upgrade.sh,v 1.86 2015/04/06 21:36:56 rpe Exp $ # $NetBSD: upgrade.sh,v 1.2.4.5 1996/08/27 18:15:08 gwr Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback @@ -35,9 +35,9 @@ # POSSIBILITY OF SUCH DAMAGE. # -# OpenBSD installation script. +# OpenBSD upgrade script. -# install.sub needs to know the MODE. +# Install.sub needs to know the MODE. MODE=upgrade # Include common subroutines and initialization code. @@ -73,6 +73,7 @@ THESETS="$THESETS site$VERSION-$(hostname -s).tgz" # Configure the network. enable_network +# Fetch the list of mirror servers and installer choices from previous runs. startcgiinfo # Create fstab for use during upgrade. @@ -85,9 +86,10 @@ check_fs umount /mnt || { echo "Can't umount $ROOTDEV!"; exit; } mount_fs +# Feed the random pool some entropy before we read from it. feed_random -# Install sets. +# Ask the user for locations, and install whatever sets the user selected. install_sets # XXX To be removed after 5.8 is released. |