summaryrefslogtreecommitdiff
path: root/distrib/macppc/ramdisk/install.md
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/macppc/ramdisk/install.md')
-rw-r--r--distrib/macppc/ramdisk/install.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/distrib/macppc/ramdisk/install.md b/distrib/macppc/ramdisk/install.md
index 89279e1514a..76d6f1d2e86 100644
--- a/distrib/macppc/ramdisk/install.md
+++ b/distrib/macppc/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.47 2010/10/02 00:11:57 krw Exp $
+# $OpenBSD: install.md,v 1.48 2011/01/03 00:36:49 deraadt Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -40,11 +40,10 @@ NCPU=$(sysctl -n hw.ncpufound)
md_installboot() {
local _disk=$1
- 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
# If there is an MSDOS partition on the boot disk, copy ofwboot