iMac Fan control (CLI)
Simple shell script to control hdd and cpu fans of a 12,1 iMac in linux
iMac Fan control
Note: This script has been tested on a 2011 iMac 21.5 inch running Ubuntu 20.04, if you have problems with this script on other iMacs please open an issue
Usage:
Option A
(here you don't create the actual command, just an alias, but it's more updatable, just git pull will get the job done)
Clone the repo in home
cd ~/ && git clone https://github.com/juampapo546/Fan-control/Create the alias for this script
sudo echo 'alias fan="sudo sh /home/$USER/fan-control/fan.sh' >> ~/.bashrcOption B
(here you create the command but you'll have to repeat the whole process every time you want to update)
Clone the repo in home
Move the script to /bin and make it executable
(optional) Clean remainings of the repo
Run fan!
For example if you want cpu fan to run at it's 65% the input should be:
Latest release :
Init release
v1.0
some grammar.
Last updated
Was this helpful?