All pastes #946859 Raw Edit

Untitled

public text v1 · immutable
·published 2008-03-18 00:13 UTC
rendered paste body
#!/bin/sh

# This is a little script to automate and set the cpu speed correctly
# because /etc/cpufreqd.conf is still ignored

cpufreq-set -c 0 --max 1870000
cpufreq-set -c 1 --max 1870000
echo 1870000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
echo 1870000 /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governo