summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-18 01:12:33 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-18 01:12:33 +0000
commit5d8104af19234df63d5869341bc078e6a83e0a3c (patch)
treeabccfd4d6da25c1d1c943bc76602eb5504310791 /distrib
parent7763763262558661268e8108768d1672cc45c574 (diff)
spaces
Diffstat (limited to 'distrib')
-rw-r--r--distrib/miniroot/install.sh4
-rw-r--r--distrib/miniroot/install.sub8
2 files changed, 6 insertions, 6 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh
index 053101f1c29..c9f76a0cfe6 100644
--- a/distrib/miniroot/install.sh
+++ b/distrib/miniroot/install.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sh,v 1.145 2004/07/04 22:30:25 krw Exp $
+# $OpenBSD: install.sh,v 1.146 2004/07/18 01:12:32 deraadt Exp $
# $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $
#
# Copyright (c) 1997-2004 Todd Miller, Theo de Raadt, Ken Westerback
@@ -232,7 +232,7 @@ __EOT
_i=0
unset _partitions _mount_points
while read _pp _mp; do
- _OPT=
+ _OPT=
[[ $_mp == / ]] && _OPT=$MDROOTFSOPT
newfs -q $_OPT /dev/r$_pp
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index d2ac8d222e2..27ade286e94 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.347 2004/07/18 00:46:14 krw Exp $
+# $OpenBSD: install.sub,v 1.348 2004/07/18 01:12:32 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2004 Todd Miller, Theo de Raadt, Ken Westerback
@@ -510,7 +510,7 @@ configure_ifs() {
[[ $resp == done ]] && break
_ifs=$resp
- _hn=/tmp/hostname.$_ifs
+ _hn=/tmp/hostname.$_ifs
# Get symbolic name - will be used in DHCP requests.
ask "Symbolic (host) name for $_ifs?" "$(hostname -s)"
@@ -612,11 +612,11 @@ v4_config() {
if [[ -n $2 ]]; then
ifconfig $_ifs inet $2 delete
[[ $2 != "0.0.0.0" ]] && { _addr=$2; _mask=$3; }
- fi
+ fi
[[ -x /sbin/dhclient ]] && _prompt=" or 'dhcp'"
_prompt="IPv4 address for $_ifs? (or 'none'$_prompt)"
-
+
ask_until "$_prompt" "$_addr"
case $resp in
none) ;;