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.
This commit is contained in:
Ivan A. Melnikov 2020-03-16 15:00:38 +04:00 committed by Anton Midyukov
parent 0d4aa49cfa
commit 3d2efecf91

View File

@ -0,0 +1,9 @@
#!/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