From 56fa8b6ba3c75136cf7adb378900d88b33032f45 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 5 Aug 2011 14:10:42 +0200 Subject: cpufreq: CPUs are now linked, setting cpu 0 suffices --- etc/.zshrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'etc') 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} } # }}} -- cgit v1.2.3