diff options
-rw-r--r-- | perl-install/detect_devices.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index a8c2d2d39..d718c0071 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -584,7 +584,10 @@ sub get_mac_generation() { return "Unknown Generation"; } -sub hasSMP() { !$::testing && c::detectSMP() } +sub hasSMP() { + return if $::testing; + c::detectSMP() || any { /\bProcessors: (\d+)/ && $1 > 1 } syslog(); +} sub hasPCMCIA() { $::o->{pcmcia} } #- because /proc/pcmcia seems not to be present on 2.4 at least (or use /var/run/stab) #- try to detect a laptop, we assume pcmcia service is an indication of a laptop or |