Last active
November 20, 2025 06:40
-
-
Save supersonictw/8cdf5ecadd1a3a3765300bedf3aa299b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/bin/sh | |
| # acpitz-patch.sh | |
| # SPDX-License-Identifier: MIT (https://ncurl.xyz/s/Kkn2DQsNR) | |
| tee /lib/systemd/system/acpitz-patch.service <<EOF | |
| [Unit] | |
| Description=acpitz patch for thermal | |
| [Service] | |
| ExecStart=/bin/sh -c 'echo disabled > /sys/class/thermal/thermal_zone1/mode' | |
| [Install] | |
| WantedBy=multi-user.target | |
| EOF | |
| systemctl enable --now acpitz-patch.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment