[Pm-utils] [PATCH 2/2] Fix paths for sched_powersave script
Chase Douglas
chase.douglas at canonical.com
Tue Jun 8 12:34:49 PDT 2010
The paths had a leading stray '$' and the hyperthreading path was
incorrect.
Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
---
pm/power.d/sched-powersave | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pm/power.d/sched-powersave b/pm/power.d/sched-powersave
index 0bdb6ac..dafc974 100644
--- a/pm/power.d/sched-powersave
+++ b/pm/power.d/sched-powersave
@@ -7,8 +7,8 @@
# load and thus conserving power
sched_powersave() {
- for pool in mc smp ht; do
- dev="$/sys/devices/system/cpu/sched_${pool}_power_savings"
+ for pool in mc smp smt; do
+ dev="/sys/devices/system/cpu/sched_${pool}_power_savings"
[ -w "$dev" ] || continue
echo $1 > "$dev"
done
--
1.7.0.4
More information about the Pm-utils
mailing list