MioKira / tuf-fan-boost-notification

This Bash script monitors the fan boost mode of ASUS TUF laptops and sends notifications when the mode changes. It includes labels for different fan boost modes (Normal Mode, OverBoost, Silent Mode) and the ability to display an associated image in notifications.
MIT License
4 stars 0 forks source link

Script spins in a loop if the fan boost file is not found #1

Open Architector4 opened 1 month ago

Architector4 commented 1 month ago

This script starts spinning in an endless loop and printing the same error if the file is not found. That may be possible if the desired module isn't loaded, or the same OS install is moved to a different machine.

In such cases, this causes unnecessary CPU load, and potentially log bloat, depending on how the script is run.