diff options
author | sam <sam@FreeBSD.org> | 2006-03-09 21:54:32 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-03-09 21:54:32 +0000 |
commit | 83bdb1ecb3666b936f0361a5c6996740f193558d (patch) | |
tree | 655f91fde736aaff69107bbc2f91968cecc1ae16 /usr.sbin | |
parent | 00873ac1070ef6b0a6af57866b112dbada398f32 (diff) | |
download | FreeBSD-src-83bdb1ecb3666b936f0361a5c6996740f193558d.zip FreeBSD-src-83bdb1ecb3666b936f0361a5c6996740f193558d.tar.gz |
missed a case that needs WITH_SMP
Noticed by: kensmith
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sade/install.c | 2 | ||||
-rw-r--r-- | usr.sbin/sysinstall/install.c | 2 |
2 files changed, 4 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; diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index 801cda9..dbd12b0 100644 --- a/usr.sbin/sysinstall/install.c +++ b/usr.sbin/sysinstall/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; |