diff options
Diffstat (limited to 'distrib/mvme88k/ramdisk/install.md')
-rw-r--r-- | distrib/mvme88k/ramdisk/install.md | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/distrib/mvme88k/ramdisk/install.md b/distrib/mvme88k/ramdisk/install.md index 781eee3cc99..9675a1bcffe 100644 --- a/distrib/mvme88k/ramdisk/install.md +++ b/distrib/mvme88k/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.37 2009/06/04 00:44:47 krw Exp $ +# $OpenBSD: install.md,v 1.38 2011/01/03 00:36:50 deraadt Exp $ # Copyright (c) 1996 The NetBSD Foundation, Inc. # All rights reserved. # @@ -37,11 +37,10 @@ NCPU=$(sysctl -n hw.ncpufound) ((NCPU > 1)) && { DEFAULTSETS="bsd bsd.rd bsd.mp" ; SANESETS="bsd bsd.mp" ; } md_installboot() { - cd /mnt - if [[ -f bsd.mp ]] && ((NCPU > 1)); then + if [[ -f /mnt/bsd.mp ]] && ((NCPU > 1)); then echo "Multiprocessor machine; using bsd.mp instead of bsd." - mv bsd bsd.sp 2>/dev/null - mv bsd.mp bsd + mv /mnt/bsd /mnt/bsd.sp 2>/dev/null + mv /mnt/bsd.mp /mnt/bsd fi cp /mnt/usr/mdec/bootsd /mnt/boot |