mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Update
This commit is contained in:
parent
1776e07a20
commit
f716032523
2 changed files with 18 additions and 0 deletions
8
system-bin/processor-performance
Executable file
8
system-bin/processor-performance
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env sh
|
||||
if [ "$1" == "start" ]; then
|
||||
for fgovernor in /sys/devices/system/cpu/cpufreq/policy*/scaling_governor; do echo performance > "${fgovernor}"; done
|
||||
exit
|
||||
elif [ "$1" == "stop" ]; then
|
||||
for fgovernor in /sys/devices/system/cpu/cpufreq/policy*/scaling_governor; do echo powersave > "${fgovernor}"; done
|
||||
exit
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue