Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 225959

Summary: sys-power/cpufrequtils - fix init.d script
Product: Gentoo Linux Reporter: Hans Meine <hans_meine>
Component: Current packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hans Meine 2008-06-11 19:13:09 UTC
I just installed cpufrequtils and looked at the provided init.d script.
I might me missing something, but I think stop() should be fixed, it currently reads:

stop() {
        checkconfig || return 1
        affect_change "Disabling" "${GOVERNOR}"
}

Looking at affect_change, it seems to do the exact same thing as start().
Looking at check_config, the above should probably use ${RESTORED_GOVERNOR}?!
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2008-08-11 17:39:06 UTC

*** This bug has been marked as a duplicate of bug 200018 ***