summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-03-09 21:54:32 +0000
committersam <sam@FreeBSD.org>2006-03-09 21:54:32 +0000
commit83bdb1ecb3666b936f0361a5c6996740f193558d (patch)
tree655f91fde736aaff69107bbc2f91968cecc1ae16 /usr.sbin/sade
parent00873ac1070ef6b0a6af57866b112dbada398f32 (diff)
downloadFreeBSD-src-83bdb1ecb3666b936f0361a5c6996740f193558d.zip
FreeBSD-src-83bdb1ecb3666b936f0361a5c6996740f193558d.tar.gz
missed a case that needs WITH_SMP
Noticed by: kensmith
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r--usr.sbin/sade/install.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c
index 801cda9..dbd12b0 100644
--- a/usr.sbin/sade/install.c
+++ b/usr.sbin/sade/install.c
@@ -909,9 +909,11 @@ installFixupKernel(dialogMenuItem *self, int dists)
* already and the /boot/kernel we remove is empty.
*/
vsystem("rm -rf /boot/kernel");
+#if WITH_SMP
if (dists & DIST_KERNEL_SMP)
vsystem("mv /boot/SMP /boot/kernel");
else
+#endif
vsystem("mv /boot/GENERIC /boot/kernel");
}
return DITEM_SUCCESS | DITEM_RESTORE;
OpenPOWER on IntegriCloud