LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-27-2002, 10:59 AM   #1
Atroxic
Member
 
Registered: Jan 2002
Posts: 41

Rep: Reputation: 15
Adding Programs to Startup


How do I add programs to startup on a Redhat Linux 7.2 machine?

-Atroxic
 
Old 01-27-2002, 12:00 PM   #2
billsabub
Member
 
Registered: Feb 2001
Posts: 109

Rep: Reputation: 15
Actually it's fairly simple. You'll just need to create a symbolic link in the appropriate run level.

Assuming you are booting up into an X environment, that's runlevel 5 on your RH box.

So, in the /etc/rc.d/rc5.d directory, you'll create a symbolic link to the file that you want to run like this:

ln -s [full or relative path to the file you want to run] [name of link that will show in rc5.d directory]
 
Old 01-27-2002, 01:10 PM   #3
Atroxic
Member
 
Registered: Jan 2002
Posts: 41

Original Poster
Rep: Reputation: 15
Starting

Ok, here's the problem....
I'm trying to host a mud off of my computer, and when I start it, I need to be in the area directory and type "../src/dystopia 4000" to get it to work, any idea on how to make it work like that on startup?

-Atroxic
 
Old 01-27-2002, 06:18 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
just add whatever lines you feel like to /etc/rc.local
 
  


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
adding programs to startup dengoy Linux - Newbie 2 11-11-2005 06:06 PM
adding programs to startup minm Linux - Newbie 8 02-25-2005 09:36 PM
Adding to startup?? pertek Linux - General 2 02-01-2005 06:40 AM
adding programs Ammad Linux - General 1 01-07-2005 10:48 PM
Adding programs to startup TheTweaker Linux - Newbie 5 05-25-2004 01:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:41 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
Open Source Consulting | Domain Registration