Are all the daemons (services) indicated by configuration-files/scripts/links in
/etc/init.d/meant to start at the boot; so can I assume those directories being like start-up directory for the processes during the boot-up?
Keeping in mind multiprocessing, will stopping some or more of those from getting to start at boot actually speed-up the system boot time?
Are the processes just triggered to start or is there some return code checking going on too?
/etc/initare used to store the startup scripts of various processes used on your system. Having a script in these directory doesn't mean that they are going to start.
For the script in
/etc/init.d, there should be a link in one of the
/etc/rc*.ddirectories to start or stop them (symbolic link) managed by the update-rc.d tool.
Services in these directories are usually started / stopped / restarted by the
sudo service <service name> <action>command. For the scripts in
/etc/init, these are part of the new boot mechanism offered by upstart. The file in the
/etc/initdirectory contains information about when and how to start and stop the service they offer.
Services in this directory are usually started / stopped / restarted by
sudo <action> <service name>.
Of course, less services to start means less time to wait during boot. But take care of not disabling services needed by your system to function properly (like udev, dbus, ...)
For services started from
/etc/init.d, the startup script should implement in it various check to report that the service is well started or not. Usually this translate by a line saying " started" or " not started" or some other error message. This appears at the console and should also be logged into
For services started by upstart (using
/etc/initdirectory), the upstart process itself provides a way to automatically restart services that may fail, manage the dependencies between them (start service1 prior to service2 if service2 needs service1 to start / function).
sudo apt-get install bum
Bum is a boot up manager,it allows u to detect and manipulate the daemons and processes which start at boot up.