[ltp] Fan always on problem... does it happen on R52 with the Intel Media Gr

linux-thinkpad@linux-thinkpad.org linux-thinkpad@linux-thinkpad.org
Thu, 11 Aug 2005 16:21:24 +0100 (BST)


On Thu, 11 Aug 2005, Leon Brokken wrote:

> Thanks a lot Honey,
>
> however, upon starting the init script, I get the following
>
>    bash-3.00# /etc/rc.d/rc.ibm_manage_fan start
>    : bad interpreter: No such file or directory

Sounds to me like you don't have /bin/sh :)  It's a shell script, so
first line applies.  Maybe try checking attaching and unattaching it
didn't add non-printable characters etc - "cat -vent"?

You'd better also check for false linebreaks too by the sound of it.
Maybe it got mangled in transmission.

> PS: when I run the script /usr/local/sbin/ibm_manage_fan.sh directly,
> the fan boosts for a second and then returns to it normal speed. I don't
> know if it's supposed to do that (haven't checked the config yet) but at
> least that script is not causing the error.

You need to touch file that tells it to run - check the bottom of the loop.
That's just to test it, and is exactly why I put the traps in!
Dangerous to test, and not realise your fans left off when you
finish.

Honey