bs_nix/_perf_mode

10 lines
206 B
Plaintext

[Unit]
Description=CPU Performance Mode
[Service]
Type=simple
ExecStart=/bin/sh -c "echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor"
[Install]
WantedBy=multi-user.target