Adding Programs to Startup
How do I add programs to startup on a Redhat Linux 7.2 machine?
-Atroxic |
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] |
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 |
just add whatever lines you feel like to /etc/rc.local
|
All times are GMT -5. The time now is 08:15 AM. |