When do startup scripts run?

Booting, installing, newbie
Post Reply
Message
Author
edwin.evans
Posts: 60
Joined: Thu 15 Nov 2012, 16:06

When do startup scripts run?

#1 Post by edwin.evans »

What is the ordering of the startup scripts? What is the difference between /etc/init.d and /etc/rc.d? Will the init.d scripts always run before the /root/Startup scripts or is it nondeterministic? Thanks!

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: When do startup scripts run?

#2 Post by rcrsn51 »

edwin.evans wrote:What is the ordering of the startup scripts? What is the difference between /etc/init.d and /etc/rc.d? Will the init.d scripts always run before the /root/Startup scripts or is it nondeterministic? Thanks!
If you look through the file /etc/rc.d/rc.sysinit, you can get an idea of the order.

The problem is that many of the processes are started in the background, so there is no guarantee that Process A is completed before Process B is started.

Post Reply