diff options
author | 2013-09-22 20:52:48 +0000 | |
---|---|---|
committer | 2013-09-22 20:52:48 +0000 | |
commit | 267a536e4185edc6f29f438612f2680fc3987afa (patch) | |
tree | aa0961870692e383c2b74cd6f9ce0e8d536c1ec2 | |
parent | Stop merging the per-thread and per-process flags when reporting (diff) | |
download | wireguard-openbsd-267a536e4185edc6f29f438612f2680fc3987afa.tar.xz wireguard-openbsd-267a536e4185edc6f29f438612f2680fc3987afa.zip |
Add bsd.mp to the default sets if > 1 processor, as done on other SMP-capable
ports.
-rw-r--r-- | distrib/luna88k/ramdisk/install.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/distrib/luna88k/ramdisk/install.md b/distrib/luna88k/ramdisk/install.md index 1b31a6dfff5..07031166bae 100644 --- a/distrib/luna88k/ramdisk/install.md +++ b/distrib/luna88k/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.14 2012/07/10 14:25:00 halex Exp $ +# $OpenBSD: install.md,v 1.15 2013/09/22 20:52:48 miod Exp $ # Copyright (c) 1996 The NetBSD Foundation, Inc. # All rights reserved. # @@ -33,6 +33,9 @@ MDTERM=vt100 MDROOTFSOPT="-f 1024 -b 8192" +NCPU=$(sysctl -n hw.ncpufound) + +((NCPU > 1)) && { DEFAULTSETS="bsd bsd.rd bsd.mp" ; SANESETS="bsd bsd.mp" ; } md_installboot() { } |