Click to See Complete Forum and Search --> : Boot up order?
FunkSoulBrother
12-14-2000, 03:16 AM
How do you edit the order of all the services that boot when you start up linux? Is there a file where i can change this? Also, is there a way i can add extra commands on startup? (I'd like to run a S10Network reboot right before the login comes up, because for some reason, my DHCP doesnt work right until i run this, but thats a different thread...)
/etc/rc.d/rc.<runlevel, probably 3 if you dont use a graphical login manager>
I think thats right anyways
posterboy
12-14-2000, 08:06 AM
Look right here: /etc/rc.d/rcX.d where the X is your starting runlevel. There will be S and K items, start and kill, and numbers after them. The numbers are key. Low numbers start earlier. I have never actually messed with this, but reading indicates that when things start and stop can be jiggled by jiggling the numbers. This applies to RH startup scripts, but I also think this is a feature of the sysV ideas, and employed by sysV distros. HTH, Ray
------------------
ray@raymondjones.net
HTTP://www.raymondjones.net
bkurt
12-14-2000, 10:59 AM
If you want to have commands run at startup just edit your /etc/rc.d/rc.local file and put the commands in their.