Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 59130 Details for
Bug 92865
Initscript to set cpufreq policy
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Revised init script
cpufreq-init.d (text/plain), 776 bytes, created by
Greg Symons
on 2005-05-17 09:26:19 UTC
(
hide
)
Description:
Revised init script
Filename:
MIME Type:
Creator:
Greg Symons
Created:
2005-05-17 09:26:19 UTC
Size:
776 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >checkconfig() { > if [[ "${CPUFREQ_GOV}" ]]; then > CPUFREQ_GOV=" -g ${CPUFREQ_GOV}" > fi > > if [[ "${CPUFREQ_MINFREQ}" ]]; then > CPUFREQ_MINFREQ=" -d ${CPUFREQ_MINFREQ}" > fi > > if [[ "${CPUFREQ_MAXFREQ}" ]]; then > CPUFREQ_MAXFREQ=" -u ${CPUFREQ_MAXFREQ}" > fi > > CPUFREQ_OPTS="${CPUFREQ_GOV}${CPUFREQ_MINFREQ}${CPUFREQ_MAXFREQ}" > > if [[ -z ${CPUFREQ_OPTS} ]]; then > ewarn " No options set in /etc/conf.d/cpufreq-policy. Using default policy" > return 1 > fi >} > >start() { > checkconfig || return 1 > > ebegin "Setting cpufreq policy" > einfo " cpufreq options: ${CPUFREQ_OPTS}" > /usr/bin/cpufreq-set ${CPUFREQ_OPTS} >/dev/null 2>&1 > eend $? >}
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 92865
:
59087
|
59088
| 59130 |
59131