Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 361548 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]
[patch]
init.d-r3.diff
init.d-r3.diff (text/plain), 827 bytes, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2013-10-21 17:05:11 UTC
(
hide
)
Description:
init.d-r3.diff
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2013-10-21 17:05:11 UTC
Size:
827 bytes
patch
obsolete
>--- /var/portage/sys-power/cpupower/files/init.d-r3 >+++ /etc/init.d/cpupower >@@ -7,19 +7,18 @@ > > change() { > local c ret=0 opts="$1" >- shift > if [ -n "$opts" ] ; then > ebegin "Running cpupower -c all frequency-set ${opts}" > cpupower -c all frequency-set ${opts} >/dev/null 2>&1 > : $(( ret += $? )) > eend ${ret} > >- if [ -d ${CPUFREQ_SYSFS} ] && [ $# -gt 0 ] ; then >+ if [ -d ${CPUFREQ_SYSFS} ] && [ -n "${SYSFS_EXTRA}" ] ; then > c=1 >- einfo "Setting extra options: $*" >+ einfo "Setting extra options: ${SYSFS_EXTRA}" > if cd ${CPUFREQ_SYSFS} ; then > local o v >- for o in "$@" ; do >+ for o in ${SYSFS_EXTRA} ; do > v=${o#*=} > o=${o%%=*} > echo ${v} > ${o} || break >@@ -35,7 +34,7 @@ > } > > start() { >- change "${START_OPTS}" "${SYSFS_EXTRA}" >+ change "${START_OPTS}" > } > > stop() {
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 453794
:
346342
|
346372
|
346378
|
346468
|
346470
|
359620
|
359622
|
359624
|
361548