Answer the question
In order to leave comments, you need to log in
How to set the script to autoload?
This is the command the script should execute: sudo cpupower frequency-set -g performance
Please help)
Fedora 34
Answer the question
In order to leave comments, you need to log in
a universal script for autostarting a command when the system starts in Linux, regardless of the distribution, as long as the cron is standing, which is in the vast majority of systems:
sudo crontab -u root -e
and add the command
@reboot sleep 30 && cpupower frequency-set -g performance
@reboot
- after reboot sleep 30
- wait 30 seconds cpupower frequency-set -g performance
- execute the command for kernel-tools
echo 'GOVERNOR="performance"' | sudo tee /etc/default/cpufrequtils
Via Supervisor well.
Through Systemd it is even better, although I like Supervisor more - in my opinion it is more flexible.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question