diff options
author | 2011-01-01 17:25:06 +0000 | |
---|---|---|
committer | 2011-01-01 17:25:06 +0000 | |
commit | d7e237c7548e997fc7386b3cb2cc57efe47b100c (patch) | |
tree | d6b7315c1c76153b6dd3f8d7cd634c642440b56f | |
parent | Move the user-visible parts of all options (names, types, limit, default (diff) | |
download | wireguard-openbsd-d7e237c7548e997fc7386b3cb2cc57efe47b100c.tar.xz wireguard-openbsd-d7e237c7548e997fc7386b3cb2cc57efe47b100c.zip |
swap kernels without changing directory; other install.md should be modified like this
-rw-r--r-- | distrib/hppa/install.md | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/distrib/hppa/install.md b/distrib/hppa/install.md index 6c0f1696beb..405e4e6119c 100644 --- a/distrib/hppa/install.md +++ b/distrib/hppa/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.17 2010/12/31 19:26:46 deraadt Exp $ +# $OpenBSD: install.md,v 1.18 2011/01/01 17:25:06 deraadt Exp $ # # machine dependent section of installation/upgrade script. # @@ -9,11 +9,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 /sbin/disklabel -B $1 |