3d2efecf91
cpufreq-simple sets it to ondemand by default, which does not behave well on some Tavolga kernels.
10 lines
201 B
Bash
Executable File
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
|