Created
November 18, 2020 06:44
-
-
Save anlai/b07825dc8518a55ae273ebf3a01126be to your computer and use it in GitHub Desktop.
Set fanspeed on Lenovo SA120 on Unraid
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/bash | |
# Script to change the fanspeed of the Lenovo SA120 server | |
# Depends on: | |
# sg3_utils https://slackware.pkgs.org/14.2/slackware-x86_64/sg3_utils-1.42-x86_64-1.txz.html | |
# fancontrol.py https://github.com/AndrewX192/lenovo-sa120-fanspeed-utility | |
SPEED=${1:-2} | |
installpkg sg3_utils-1.42-x86_64-1.txz | |
python ./fancontrol.py $SPEED |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment