LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to run dellfand at startup (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-run-dellfand-at-startup-557330/)

okos 05-28-2007 11:15 PM

How to run dellfand at startup
 
Hi
I have a dell laptop which can overheat.

I installed dellfand which monitors and and sets fan speeds at various termperatures.

the command for dellfand including flags goes at this:

#dellfand 0 10 38 45 50

How can I run this command line entry at startup?

Thanks

PS im a noobie :)

fukawi2 05-29-2007 12:46 AM

Quote:

Originally Posted by okos
dellfand 0 10 38 45 50

Edit the file /etc/rc.local and add that command in to there somewhere :)

okos 05-29-2007 01:09 AM

rc.local
 
Thanks for the reply


nano /etc/rc.local

shows

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

dellfand 1 7 40 44 48

exit 0

I just added the dellfand and changed the flags a little.

What does this mean?: # This script is executed at the end of each multiuser runlevel.
Is this the last on the runlevel?
What is multiuser all about? Only one person uses this computer. :confused:

fukawi2 05-29-2007 01:18 AM

Quote:

Originally Posted by okos
I just added the dellfand and changed the flags a little.

That should work just fine :)

Quote:

Originally Posted by okos
What does this mean?: # This script is executed at the end of each multiuser runlevel.
Is this the last on the runlevel?

Exactly what it says - rc.local is executed AFTER all other scripts when the computers run-level is changed (booting up is changing a run-level)

Quote:

Originally Posted by okos
What is multiuser all about? Only one person uses this computer. :confused:

Linux is a true multi-user system - that doesn't mean you have to use multiple users :)
Just like a Ferrari does over 200km/h, doesn't mean you have to :)

okos 05-29-2007 01:31 AM

Thanks
 
Thanks for the help.

I was just reading your blogs

great on the retrosexual:)

what is the fukawi tribe?:scratch:

okos 05-29-2007 08:56 PM

dellfand command in rc.local did not work
 
Any one have a clue on how to run dellfand at startup?

I wrote the command for dellfand 1 7 40 44 48 in /etc/rc.local did not work.

Thanks

fukawi2 05-31-2007 02:48 AM

Glad you liked - I have to disclaim that the retrosexuals post isn't mine, I just liked it :)

Where is the dellfand binary? It may not be in the PATH environment variable when rc.local get's executed, so you'll need to specify the full path.

Use this command to find the full path:
Code:

which dellfand
Then add the full path in - for example, I'd guess it may be /usr/sbin/dellfand

okos 06-02-2007 01:03 PM

Thanks
 
It is up and working now!!!:cool:

fukawi you have been a great help and it is much appreciated!:D

I added /usr/bin/dellfand 1 7 40 44 48 to rc.local

fukawi2 06-10-2007 02:08 AM

Glad to help :D


All times are GMT -5. The time now is 08:19 AM.