diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2010-06-08 14:57:13 -0400 |
---|---|---|
committer | Chase Douglas <chase.douglas@canonical.com> | 2010-06-09 10:35:56 -0400 |
commit | 9b059c01da46c12d026002ebaeb5a3c0cdd59a78 (patch) | |
tree | 51e1c9820970ca2df1001ab6893f18df1aeaa499 | |
parent | c97842b99029e81c138744f34f05746e7309a611 (diff) |
Fix paths for sched_powersave script
The paths had a leading stray '$' and the hyperthreading path was
incorrect.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r-- | 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 |