Note: This script is provided as is. It, and the repo in which it resides, will not maintained.
This is a personal script that is provided as part of a guide on my blog. The guide can be found at https://blog.briantruscott.com/how-to-enable-laptop-fan-in-linux-with-nbfc/.