Answer the question
In order to leave comments, you need to log in
What rights does the script lack for autorun?
Hello.
I understand the question is Nubian, and before asking it here, I googled it, including here - it doesn’t work
Task, on the old laptop, automatically run this
OS Linux Mint 20.2 script
#!/bin/sh
for cf in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor;
do
echo performance > $cf;
#echo powersave > $cf;
done
Answer the question
In order to leave comments, you need to log in
[Unit]
Description=Turn on performance mode for CPU
[Service]
Type=oneshot
User=root
ExecStart=/root/antidropcpu.sh
[Install]
WantedBy=multi-user.target
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question