From: Michael Prokop Date: Sun, 25 Mar 2007 12:08:56 +0000 (+0200) Subject: config_cpu(): support x86 in cpufreq detection X-Git-Tag: 0.6.24~1 X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=494796bf66064d463792258eb990ff4f0b89a8f8;ds=sidebyside config_cpu(): support x86 in cpufreq detection --- diff --git a/autoconfig.functions b/autoconfig.functions index d8499ae..ea906fb 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1213,7 +1213,8 @@ if checkbootparam "nocpu"; then else if ! [ -x /etc/init.d/powernowd ] ; then ewarn "Skipping CPU detection as powernowd dependencies are not fulfilled." ; eend 1 - elif [ ! -e /lib/modules/${KERNEL}/kernel/arch/i386/kernel/cpu/cpufreq -o ! -e /lib/modules/${KERNEL}/kernel/drivers/cpufreq ] ; then + elif [ ! -e /lib/modules/${KERNEL}/kernel/arch/i386/kernel/cpu/cpufreq -o ! -e /lib/modules/${KERNEL}/kernel/drivers/cpufreq -o ! -e \ + /lib/modules/${KERNEL}/kernel/arch/x86_64/kernel/cpufreq ] ; then ewarn "Skipping CPU detection as module dependencies are not fulfilled." ; eend 1 else if [[ `grep -c processor /proc/cpuinfo` -gt 1 ]] ; then diff --git a/debian/changelog b/debian/changelog index abca98c..2ef2492 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ grml-autoconfig (0.6.24) unstable; urgency=low * config_vmware(): fix small syntax error. + * config_cpu(): support x86 in cpufreq detection -- Michael Prokop Sun, 25 Mar 2007 13:25:15 +0200