mkimage-profiles/features.in/mipsel-mitx/rootfs/image-scripts.d/40-cpufreq-simple
Ivan A. Melnikov 3d2efecf91 mipsel-mitx: Set default cpufreq gouverner to performance
cpufreq-simple sets it to ondemand by default, which does
not behave well on some Tavolga kernels.
2020-09-18 12:45:09 +07:00

10 lines
201 B
Bash
Executable File

#!/bin/sh
CONFIG=/etc/sysconfig/cpufreq-simple
[ -f "$CONFIG" ] || exit 0
. shell-config
shell_config_set "$CONFIG" GOVERNOR_AC_ON performance
shell_config_set "$CONFIG" GOVERNOR_AC_OFF performance