Last active
January 20, 2024 11:10
-
-
Save sjustesen/8d9d405f9bc1bc6ba33a7482e22aff19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Disable CPU boost at boot | |
# After networking because we need that | |
After=network.target | |
[Service] | |
Type=simple | |
User=root | |
ExecStart=/bin/bash -c "echo 0 | tee /sys/devices/system/cpu/cpufreq/boost" | |
[Install] | |
# Start the service before we get to multi-user mode | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment