Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-19-2005, 08:50 PM   #1
Registered: Jan 2005
Location: Newport, WALES
Distribution: SuSE
Posts: 74

Rep: Reputation: 15
making a command run after boot

Hi guys,

My laptop has a transmeta cpu which has the ability to change frequecny dynamically.

What i would like to do is run this command as soon as the laptop is switched on, (as early as possible)

longrun -s 100 100 "this will allow it to boot quicker"

and then once the laptop has finished loading and im in KDE i would like the command

longrun -s 0 100

to be automatically run

is tihs possible to do guys?

how can i do this?

cheers in advance
Old 04-19-2005, 09:11 PM   #2
Registered: Oct 2003
Location: Toronto, Canada
Distribution: Ubuntu, FC3, RHEL 3-4 AS Retired: SuSE 9.1 Pro, RedHat 6-9, FC1-2
Posts: 360

Rep: Reputation: 30
You could create two scripts

longrun -s 100 100
longrun -s 0 100
Then link them into your start up... for example
ln -s /usr/local/bin/high /etc/rc5.d/S07high
ln -s /usr/local/bin/low /etc/rc5.d/S98low

I suspect this should meet your needs.


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
making a command run when using batteries phillips321 SUSE / openSUSE 1 04-28-2005 11:22 AM
Making a command run auto when Batteries/AC Plug phillips321 Linux - Software 3 04-27-2005 03:46 PM
Making SSHd Run On Boot Chrysalid Linux - Software 3 04-02-2005 05:55 AM
Making stuff run at boot onionkn1ght Linux - Newbie 6 09-27-2004 04:18 AM
making kde run a command at startup wfettich Linux - General 3 05-10-2004 03:13 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:40 AM.

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