Commit cef45dd8 authored by Dmitriy Terekhin's avatar Dmitriy Terekhin Committed by Anton Midyukov

aarch64-rpi4: Change the default governor to conservative

By default, in cpufreq-simple feature the ondemand governor is configured. But only the conservative governor is available at Raspberry Pi 4 kernels. This is change the default governor to conservative.
parent 5d5ce4ab
#!/bin/sh -efu
# By default, in cpufreq-simple feature the ondemand governor is configured.
# But only the conservative governor is available at Raspberry Pi 4 kernels.
# This is change the default governor to conservative.
cfgfile="/etc/sysconfig/cpufreq-simple"
if [ -f "$cfgfile" ]
then
echo "GOVERNOR_AC_ON=conservative" >> "$cfgfile"
echo "GOVERNOR_AC_OFF=conservative" >> "$cfgfile"
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment