A program to control the fans of a MacBook Pro 2016 running Linux with a customized curve. Intended to use as a systemd service.
- Node 16
- Yarn
- Clone the repository
- Install dependencies with
yarn install
- Run program with
sudo yarn start
- Build with
yarn build
, binary will be located indist/applesmc-fan-control
- In
applesmc-fan-control.service
, change the line containingExecStart
with the correct path of the compiled binary - Copy
applesmc-fan-control.service
to/etc/systemd/system/
- Enable and start the service with
sudo systemctl enable --now applesmc-fan-control.service