LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 05-29-2007, 12:15 AM   #1
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 37
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
 
Old 05-29-2007, 01:46 AM   #2
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
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
 
Old 05-29-2007, 02:09 AM   #3
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 37
Question 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.
 
Old 05-29-2007, 02:18 AM   #4
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
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.
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
 
Old 05-29-2007, 02:31 AM   #5
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 37
Thumbs up Thanks

Thanks for the help.

I was just reading your blogs

great on the retrosexual

what is the fukawi tribe?
 
Old 05-29-2007, 09:56 PM   #6
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 37
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
 
Old 05-31-2007, 03:48 AM   #7
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
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
 
Old 06-02-2007, 02:03 PM   #8
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 37
Thumbs up Thanks

It is up and working now!!!

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

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

Last edited by okos; 06-02-2007 at 02:04 PM.
 
Old 06-10-2007, 03:08 AM   #9
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
Glad to help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get fuse to run at startup? jz32300 Linux - Newbie 3 06-09-2006 09:54 AM
run program at startup.. me again.. :) rohan208 Linux - General 2 05-26-2004 09:03 PM
Getting daemon to run at startup HaPPYFaCe Slackware 1 07-10-2003 09:50 PM
Programs run on startup Roy-Svork Linux - Software 4 01-21-2003 10:12 AM
Run on Startup? Paasan Linux - General 5 09-16-2002 11:37 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration