summaryrefslogtreecommitdiff
path: root/distrib/sun3
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-03-31 17:30:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-03-31 17:30:32 +0000
commit0ac3ae1f43dc0de4f4a64dc45569c38ff5885946 (patch)
tree3ec610b10a08e9169ea99b34e483f0202affecba /distrib/sun3
parentd4c4b170da36ab5d761959ee920ea57a18ac559e (diff)
bit of shrinkage, krw ok
Diffstat (limited to 'distrib/sun3')
-rw-r--r--distrib/sun3/install.md34
1 files changed, 15 insertions, 19 deletions
diff --git a/distrib/sun3/install.md b/distrib/sun3/install.md
index 7a56e6ca792..8fcb57b1195 100644
--- a/distrib/sun3/install.md
+++ b/distrib/sun3/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.4 2002/02/14 03:34:15 deraadt Exp $
+# $OpenBSD: install.md,v 1.5 2002/03/31 17:30:31 deraadt Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -35,13 +35,12 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
-
#
# machine dependent section of installation/upgrade script.
#
# Machine-dependent install sets
-MDSETS="kernel"
+MDSETS=kernel
ARCH=ARCH
md_set_term() {
@@ -56,19 +55,19 @@ md_get_msgbuf() {
# Only want to see one boot's worth of info
dmesg > /tmp/msgbuf
sed -n -f /dev/stdin /tmp/msgbuf <<- OOF
- /^OpenBSD /h
- /^OpenBSD /!H
- \${
- g
- p
- }
+ /^OpenBSD /h
+ /^OpenBSD /!H
+ \${
+ g
+ p
+ }
OOF
}
md_get_diskdevs() {
# return available disk devices
md_get_msgbuf | sed -n -e '/^sd[0-9] /{s/ .*//;p;}' \
- -e '/^x[dy][0-9] /{s/ .*//;p;}'
+ -e '/^x[dy][0-9] /{s/ .*//;p;}'
}
md_get_cddevs() {
@@ -77,8 +76,8 @@ md_get_cddevs() {
}
md_get_partition_range() {
- # return range of valid partition letters
- echo [a-p]
+ # return range of valid partition letters
+ echo [a-p]
}
md_questions() {
@@ -103,7 +102,7 @@ md_installboot() {
echo No boot block prototypes found, you must run installboot manually.
return
fi
-
+
echo Installing boot block...
cp ${_prefix}/ufsboot /mnt/boot
sync; sync; sync
@@ -141,14 +140,11 @@ md_prep_disklabel()
md_checkfordisklabel $_disk
case $? in
- 0)
- ;;
- 1)
- echo WARNING: Label on disk $_disk has no label. You will be creating a new one.
+ 0) ;;
+ 1) echo WARNING: Label on disk $_disk has no label. You will be creating a new one.
echo
;;
- 2)
- echo WARNING: Label on disk $_disk is corrupted. You will be repairing.
+ 2) echo WARNING: Label on disk $_disk is corrupted. You will be repairing.
echo
;;
esac