summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-08-05 14:10:42 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-08-05 14:10:42 +0200
commit56fa8b6ba3c75136cf7adb378900d88b33032f45 (patch)
tree7a25d368cee9e4424372d52130fa6c0efadfa877 /etc
parent6d845f65740c6db5ddafd1e60e48484a58e13d99 (diff)
cpufreq: CPUs are now linked, setting cpu 0 suffices
Diffstat (limited to 'etc')
-rw-r--r--etc/.zshrc4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/.zshrc b/etc/.zshrc
index f749155..6a8b68c 100644
--- a/etc/.zshrc
+++ b/etc/.zshrc
@@ -182,9 +182,7 @@ function Status Start Stop Restart Reload {
}
function ondemand powersave performance conservative userspace {
- for cpu (/sys/devices/system/cpu/cpu?); do
- sudo cpufreq-set -c ${${cpu:t}#cpu} -g ${0}
- done
+ sudo cpufreq-set -c 0 -g ${0}
}
# }}}