Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 59087 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]
The cpufreq-policy initscript
cpufreq-policy (text/plain), 793 bytes, created by
Greg Symons
on 2005-05-16 22:59:52 UTC
(
hide
)
Description:
The cpufreq-policy initscript
Filename:
MIME Type:
Creator:
Greg Symons
Created:
2005-05-16 22:59:52 UTC
Size:
793 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > need localmount > use logger >} > >start() { > ebegin "Setting cpufreq policy" > > if [ "x${CPUFREQ_GOV}" != "x" ]; then > CPUFREQ_GOV=" -g ${CPUFREQ_GOV}" > fi > > if [ "x${CPUFREQ_MINFREQ}" != "x" ]; then > CPUFREQ_MINFREQ=" -d ${CPUFREQ_MINFREQ}" > fi > > if [ "x${CPUFREQ_MAXFREQ}" != "x" ]; then > CPUFREQ_MAXFREQ=" -u ${CPUFREQ_MAXFREQ}" > fi > > CPUFREQ_OPTS="${CPUFREQ_GOV}${CPUFREQ_MINFREQ}${CPUFREQ_MAXFREQ}" > > if [[ ${CPUFREQ_OPTS} ]]; then > einfo " cpufreq opts: '${CPUFREQ_OPTS}'" > /usr/bin/cpufreq-set ${CPUFREQ_OPTS} >/dev/null 2>&1 > else > einfo " No options set in /etc/conf.d/cpufreq-policy. Using default policy" > true > fi > 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