geekworm-com / x-c1

This is the safe shutdown script and python pwm fan control sample code.
MIT License
17 stars 18 forks source link

Fan curve not working after reboot on Raspberry Pi OS Lite #7

Open Tai-Mai opened 1 year ago

Tai-Mai commented 1 year ago

The existing script has worked well for me on Raspberry Pi OS Desktop. However, I had to install Raspberry Pi OS Lite and found that the fan curve does not work after a reboot. I've created a pull request to fix this issue.

To fix it manually, edit /lib/systemd/system/pigpiod.service and change the ExecStart line to

ExecStart=/usr/bin/pigpiod -l -n 127.0.0.1