diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-09-22 20:52:49 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-09-22 20:52:49 +0000 |
commit | 8c5b6c1959d5ea08fe76bdca832bb362fb09534f (patch) | |
tree | f45447b612d486f7deab8b6ecbd419c563fafe26 | |
parent | f8caf955c3775ce75e26a7247df8959d1c2230cc (diff) |
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() { } |