Untitled
public text v1 · immutable#!/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