Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 346342 Details for
Bug 453794
sys-power/cpupower: init.d/conf.d files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
cpupower rcscript
cpupower (text/plain), 679 bytes, created by
Khayyam
on 2013-04-23 00:47:27 UTC
(
hide
)
Description:
cpupower rcscript
Filename:
MIME Type:
Creator:
Khayyam
Created:
2013-04-23 00:47:27 UTC
Size:
679 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >change() { > local c ret=0 opts="$1" > shift > ebegin "Running cpufreq-set ${opts}" > cpupower -c all frequency-set ${opts} >/dev/null 2>&1 > : $(( ret += $? )) > eend ${ret} > > if [ $# -gt 0 ] ; then > c=1 > einfo "Setting extra options: $*" > if cd /sys/devices/system/cpu/cpufreq ; then > local o v > for o in "$@" ; do > v=${o#*=} > o=${o%%=*} > echo ${v} > ${o} || break > done > c=0 > fi > eend ${c} > : $(( ret += c )) > fi > > return ${ret} >} > >start() { > change "${START_OPTS}" ${SYSFS_EXTRA} >} > >stop() { > change "${STOP_OPTS}" >}
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 453794
:
346342
|
346372
|
346378
|
346468
|
346470
|
359620
|
359622
|
359624
|
361548