Files
ecmc_server_cfg/AutoStart/S10-performance
2024-09-13 09:59:18 +02:00

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 > {}' ';'