10 lines
298 B
Bash
Executable File
10 lines
298 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#echo "I am in ${0}"
|
|
|
|
# activate performance power saving mode
|
|
find /sys/devices/system/cpu -name scaling_governor -exec sh -c 'echo performance > {}' ';'
|
|
|
|
# disable turbo mode (if not already disabled in BIOS)
|
|
find /sys/devices/system/cpu -name no_turbo -exec sh -c 'echo 1 > {}' ';'
|