Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In order to increase booting speed i've disabled many unwanted services at start up while in a Desktop Enviorment (KDE) on my RH7.3 system.
I looked into the rc5.d (which is my default run level) and I can't figure out HOW the files in the directory are marked bootable or not.
For example, I disabled ipchains at bootup and looked at the file after modiftying my bootup list and nothing was changed.
My question is, where and what file determines whats bootable or not. Would like to be able to do this all in console mode for runlevel 3 machines I will be working with.
Hmm... this not the easiest thing. First, try to use config-tools, if available. This should succeed. If not try the following:
For each directory, there is a folder called rcX.d, where x is the runlevel. I think this is the same for all distros. In there should be symbolic links with numbers before them and each one starts a service. So if you have in rc5.d S800<something>, this means that this service 'something' gets started when switched to Runlevel X. So, if you remove this symbolic link, the service shouldn't start.
This is the way, LFS is handling bootup. However, I don't know whether distros work different - i'm sure you'll find out.
Good luck
Yea, Got that part down, just confused cause when i use a GUI config app to edit what services i want at boot up and ones I don't, the symbolic links still remain in the rcX.d directory.
So im not sure what exactly is modified, the files themself are not touched. Perhaps theirs an index file for rcX.d files?
You can figure using the timestamp which file got modified...just to figure. May be, the name of the symbolic link changes in a way, the bootup process doesn't call it anymore. For example, S800 gets changed to something else...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.