The paths had a leading stray '$' and the hyperthreading path was
incorrect.

Signed-off-by: Chase Douglas <[email protected]>
---
 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

_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to