Advertisement
wariat

noturbo_toggle.sh

Jan 28th, 2025
616
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.35 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # /sys/devices/system/cpu/intel_pstate
  4.  
  5. no_turbo=`cat /sys/devices/system/cpu/intel_pstate/no_turbo`
  6.  
  7. if [ $no_turbo == 1 ]
  8. then
  9.     echo 0 > /sys/devices/system/cpu/intel_pstate/no_turbo
  10.     echo Jest TURBO wziuuuu…
  11. else
  12.     echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo
  13.     echo Nie ma TURBO pyr, pyr, pyr, srut…
  14. fi
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement