summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-06 02:33:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-06 02:33:34 +0000
commitc38c9f5251520a73979936af6ef1c719ed0c3954 (patch)
tree6dadf62994e6c3da18152a92758eff7201d73cc0 /perl-install/detect_devices.pm
parent9993d2565f25d641fe59a858504c6587fb8bcf36 (diff)
downloaddrakx-c38c9f5251520a73979936af6ef1c719ed0c3954.tar
drakx-c38c9f5251520a73979936af6ef1c719ed0c3954.tar.gz
drakx-c38c9f5251520a73979936af6ef1c719ed0c3954.tar.bz2
drakx-c38c9f5251520a73979936af6ef1c719ed0c3954.tar.xz
drakx-c38c9f5251520a73979936af6ef1c719ed0c3954.zip
make a special "low resources" choice
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 34541e024..15f671670 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -441,6 +441,10 @@ sub getCPUs() {
@cpus;
}
+sub ix86_cpu_frequency() {
+ cat_('/proc/cpuinfo') =~ /cpu MHz\s*:\s*(\d+)/ && $1;
+}
+
sub getSoundDevices() {
modules::probe_category('multimedia/sound');
}