From c38c9f5251520a73979936af6ef1c719ed0c3954 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 6 Jun 2005 02:33:34 +0000 Subject: make a special "low resources" choice --- perl-install/detect_devices.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/detect_devices.pm') 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'); } -- cgit v1.2.1