summaryrefslogtreecommitdiff
path: root/distrib/miniroot/install.sh
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-11-28 03:06:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-11-28 03:06:31 +0000
commit509bb97778f20e75f7faae6d2a33804a19cd29b2 (patch)
tree3f277a477455d431a3e1c3abee5ca65e5ee2ddc5 /distrib/miniroot/install.sh
parentcd6b247e20f39cb0585256a5678380e74b19327f (diff)
spaces
Diffstat (limited to 'distrib/miniroot/install.sh')
-rw-r--r--distrib/miniroot/install.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh
index cac28853bd6..39a0bd6ab2e 100644
--- a/distrib/miniroot/install.sh
+++ b/distrib/miniroot/install.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sh,v 1.122 2002/11/28 01:54:58 krw Exp $
+# $OpenBSD: install.sh,v 1.123 2002/11/28 03:06:30 deraadt 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
@@ -141,14 +141,14 @@ if [ ! -f /etc/fstab ]; then
[[ -f $FILESYSTEMS && -n $(grep " $_mp\$" $FILESYSTEMS) ]] && break
isin $_mp ${_mount_points[*]} && break
# Ignore '/' for any partition but ROOTDEV. Check just
- # in case ROOTDEV isn't first partition processed.
- [[ $_mp == '/' ]] && break
+ # in case ROOTDEV isn't first partition processed.
+ [[ $_mp == '/' ]] && break
# Otherwise, record user specified mount point.
_mount_points[$_i]=$_mp
done < /tmp/fstab.$DISK
fi
: $(( _i += 1 ))
- done
+ done
if [[ $DISK == $ROOTDISK ]]; then
# Ensure that ROOTDEV was configured.
@@ -170,7 +170,7 @@ if [ ! -f /etc/fstab ]; then
# If there are no BSD partitions, or $DISK has been reset, go on to next disk.
[[ ${#_partitions[*]} > 0 && -n $DISK ]] || continue
-
+
# Now prompt the user for the mount points. Loop until "done" entered.
_i=0
while : ; do
@@ -192,9 +192,9 @@ if [ ! -f /etc/fstab ]; then
# been specified on this one?
_j=0
for _pp in ${_partitions[*]} ""; do
- if [ $_i -ne $_j ]; then
+ if [ $_i -ne $_j ]; then
[ "$resp" = "${_mount_points[$_j]}" ] && break
- fi
+ fi
: $(( _j += 1 ))
done
fi
@@ -355,7 +355,7 @@ install_sets
# Set machdep.apertureallowed if required. install_sets must be
# done first so that /etc/sysctl.conf is available.
set_machdep_apertureallowed
-
+
# Copy configuration files to /mnt/etc.
cfgfiles="fstab hostname.* mygate resolv.conf kbdtype sysctl.conf"