summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2006-10-20 19:21:25 +0000
committerChristian Heim <phreak@gentoo.org>2006-10-20 19:21:25 +0000
commit257592d2e5ed37ce44cf65fecb1c8867e1d12441 (patch)
treed98c571ac4a085b67d32874162f0fc6437d8d97a /sys-power/cpufrequtils/files
parentMark 1.4.5 stable on alpha (diff)
downloadhistorical-257592d2e5ed37ce44cf65fecb1c8867e1d12441.tar.gz
historical-257592d2e5ed37ce44cf65fecb1c8867e1d12441.tar.bz2
historical-257592d2e5ed37ce44cf65fecb1c8867e1d12441.zip
Fixing the Governor restore on stop(), fixing #152090 (thanks to Daniel Franke). Tuning the conf.d entry a bit.
Package-Manager: portage-2.1.2_pre3-r5
Diffstat (limited to 'sys-power/cpufrequtils/files')
-rw-r--r--sys-power/cpufrequtils/files/cpufrequtils-002-conf.d2
-rw-r--r--sys-power/cpufrequtils/files/cpufrequtils-002-init.d4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys-power/cpufrequtils/files/cpufrequtils-002-conf.d b/sys-power/cpufrequtils/files/cpufrequtils-002-conf.d
index 5f2d91fedc54..eb24f8de2364 100644
--- a/sys-power/cpufrequtils/files/cpufrequtils-002-conf.d
+++ b/sys-power/cpufrequtils/files/cpufrequtils-002-conf.d
@@ -1,6 +1,6 @@
# /etc/conf.d/cpufrequtils: config file for /etc/init.d/cpufrequtils
# Which governor to use. Must be one of the governors listed in:
-# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
+# cat /sys/devices/system/cpu/cpu?/cpufreq/scaling_available_governors
#
GOVERNOR="ondemand"
diff --git a/sys-power/cpufrequtils/files/cpufrequtils-002-init.d b/sys-power/cpufrequtils/files/cpufrequtils-002-init.d
index 593370d77300..fcd2ae136520 100644
--- a/sys-power/cpufrequtils/files/cpufrequtils-002-init.d
+++ b/sys-power/cpufrequtils/files/cpufrequtils-002-init.d
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/files/cpufrequtils-002-init.d,v 1.3 2006/07/17 06:16:55 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/files/cpufrequtils-002-init.d,v 1.4 2006/10/20 19:21:25 phreak Exp $
checkconfig() {
if [ -z "${GOVERNOR}" ]; then
@@ -39,5 +39,5 @@ start() {
stop() {
checkconfig || return 1
- affect_change "Disabling" "${RESTORED_GOVERNOR}"
+ affect_change "Disabling" "${GOVERNOR}"
}