Thanks for the reply Georgi, somehow I managed to get it …

Friday, 29th March 2024

Comment on How to properly control your Lenovo Thinkpad R61 fan rotation cycles on Linux with ThinkFan by nikolay.

Thanks for the reply Georgi,

somehow I managed to get it working yesterday. I found the script you posted, and then enabled thinkfan in /etc/default/thinkfan (as said in the script). As I put the program thinkfan (the binary file) in /usr/local/sbin, I had to change the path in the script from DAEMON=/usr/sbin/$NAME to DAEMON=/usr/local/sbin/$NAME. At the end I run sudo update-rc.d -f thinkfan start 99 2 3 4 5 . and it worked 🙂

I don’t get why the scripts in /etc/init.d can not be a simple one line code (like in my previous post). Is that a security reason, or there is something deeper that I can’t understand?

Благодаря за помощта!
Поздравления из блога ти, доста интересни статии имаш. Най-вероятно ще се видим пак по коментарите под тях 😉
Поздрави, Николай

nikolay Also Commented

How to properly control your Lenovo Thinkpad R61 fan rotation cycles on Linux with ThinkFan
Здрасти и thanks for the fast reply,

I made a thinkfan_auto script which looks like this:
#!/bin/bash
sleep 30 && thinkfan ;

Then I copied it it /etc/init.d/ and run sudo update-rc.d thinkfan_auto defaults. But the program still doesn’t start at boot.

Any suggestion on how the script should look like is welcomed.

Благодаря!
Николай


How to properly control your Lenovo Thinkpad R61 fan rotation cycles on Linux with ThinkFan
Zdrasti Georgi,

I have a question concerning the auto-start of the thinkfan daemon. The line “0,30 * * * * killall -HUP thinkfan” restarts the thinkfan every 30 minutes, but it does not start it when I boot the machine. Do you have a suggestion how thinkfan can be started automatically through crontab as well?

Cheers for the posts,
Nikolay


Share this on:

Comments are closed.