LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-03-2005, 10:04 AM   #1
andy1.52
Member
 
Registered: Jan 2005
Location: Utah
Distribution: Mandrake Official 10.1
Posts: 30

Rep: Reputation: 15
How Do I Get A Program to Start at the Machine Startup


I'm running a folding program that runs off of idle cpu time so it doesn't effect the computer's overall performance. But anyway I want this program to start when I boot up my machine and I have no idea how to do this. I am running mandrake 10.1 official.
 
Old 03-03-2005, 10:33 AM   #2
Brian Knoblauch
Member
 
Registered: Jan 2005
Distribution: OpenSuse Tumbleweed
Posts: 288

Rep: Reputation: 39
You can do that by placing a startup script in the appropriate runlevel directory under /etc/rc.d. If you're running graphical, that's runlevel 5, so place a script in /etc/rc.d/rc5.d. Scripts starting with "S" are for startup, "K" is for shutdown. They're executed in numerical order, so you normally would create one call "S99myprogram" for startup, and a friendly shutdown script as "K00myprogram".
 
  


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
My Redhat Linux 9 machine won't startup but gives a startup error" njugs79 Linux - Newbie 2 03-23-2005 01:50 AM
start program on startup HTS Programming 2 07-08-2004 01:22 AM
how to make a program start on startup Maver Linux - Software 9 06-13-2004 06:54 PM
Can I gett KPPP to start when I start a browser on a network machine? duffboygrim Linux - Networking 0 03-25-2004 05:49 PM
start a program at startup. abhay Slackware 3 10-14-2003 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration