When do startup scripts run?
-
- Posts: 60
- Joined: Thu 15 Nov 2012, 16:06
When do startup scripts run?
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!
Re: When do startup scripts run?
If you look through the file /etc/rc.d/rc.sysinit, you can get an idea of the order.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!
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.