On Sun, Dec 17, 2006 at 01:47:56AM -0200, Fabio Pugliese Ornellas wrote:
> Package: cpufreqd
> Version: 2.2.1-1
> Severity: normal
> 
> The init script /etc/init.d/cpufreqd calls
> modprobe -qa $CPUFREQ_GOV_MODULES || /bin/true
> even when CPUFREQ_GOV_MODULES is empty.
> 
> There should have a check similar to that inside load_cpu_module()
> before modprobe call.

Hummm... There's such check already:

load_governor_modules() {
        case "$CPUFREQ_GOV_MODULES" in
                "")
-->                     return
                ;;
                "auto")
                        CPUFREQ_GOV_MODULES=$(cat /etc/cpufreqd.conf | \
                                                sed -ne 
's/^policy=\([[:alpha:]]*\)/cpufreq_\1/p' | \
                                                uniq | xargs)
                ;;
                *)
                ;;
        esac


-- 
mattia
:wq!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to