From 7a119bfc851f6206fba2b30250f927e72ce2f5e6 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 28 Feb 2003 21:59:20 +0000 Subject: let hasSMP don't exit DrakX in testing mode because /dev/mem is not accessible --- perl-install/detect_devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index e77b36090..91afd12e6 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -553,7 +553,7 @@ sub get_mac_generation() { return "Unknown Generation"; } -sub hasSMP { c::detectSMP() } +sub hasSMP { !$::testing && c::detectSMP() } 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 -- cgit v1.2.1