OpenRC init file for thinkfan.
- A ThinkPad running linux with OpenRC as init system.
- Fancontrol enabled in thinkpad_acpi module. This is automatically enabled when thinkfan is installed.
- thinkfan installed - You can install it from the AUR if you use (an) Arch (based distribution).
From the AUR
yay -S thinkfan-openrc
- or with your own favorite AUR helper.- Create a file /etc/thinkfan.conf. Example is in: /usr/share/doc/thinkfan/examples/thinkfan.yaml
- Add the service to default runlevel with
rc-update add thinkfan
- Start the service with
rc-service thinkfan start
- Place the file thinkfan from this repository in /etc/init.d and make it executable:
chmod +x thinkfan
. - Create a file /etc/thinkfan.conf. Example is in: /usr/share/doc/thinkfan/examples/thinkfan.yaml
- Add the service to default runlevel with
rc-update add thinkfan
- Start the service with
rc-service thinkfan start