Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 317067 Details for
Bug 424643
sys-power/cpufrequtils is dead upstream and should be replaced with sys-power/cpupower (sys-power/cpupowerutils)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
init file
cpupowerutils-init.d (text/plain), 1.16 KB, created by
Robert Cabrera
on 2012-07-03 20:16:41 UTC
(
hide
)
Description:
init file
Filename:
MIME Type:
Creator:
Robert Cabrera
Created:
2012-07-03 20:16:41 UTC
Size:
1.16 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/files/cpufrequtils-init.d-006,v 1.2 2011/07/21 19:47:14 mattst88 Exp $ > >start() { > local retval=0 > ebegin "Starting cpupower" > if [[ -n "${freq}" ]] ; then > cpupower frequency-set --freq "${freq}" &>/dev/null || $(( retval += 1)) > elif [[ -n "${governor}" || -n "${min_freq}" || -n "${max_freq}" ]] ; then > cpupower frequency-set $(if [[ -n "${governor}" ]] ; then echo --governor "${governor}"; fi) $(if [[ -n "${min_freq}" ]] ; then echo --min "${min_freq}"; fi) $(if [[ -n "${max_freq}" ]] ; then echo --max "${max_freq}"; fi) &>/dev/null || $(( retval += 1)) > fi > if [[ -n "${mc_scheduler}" || -n "${smt_scheduler}" || -n "${perf_bias}" ]] ; then > cpupower set $(if [[ -n "${perf_bias}" ]] ; then echo --perf-bias "${perf_bias}"; fi) $(if [[ -n "${mc_scheduler}" ]] ; then echo --sched-mc "${mc_scheduler}"; fi) $(if [[ -n "${smt_scheduler}" ]] ; then echo --sched-smt "${smt_scheduler}"; fi) &>/dev/null || $(( retval += 1)) > fi > eend ${retval} "Error Setting frequency and power configuration!" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 424643
:
317063
|
317065
| 317067