Including Your Own Services in bootlocal

Sometimes, it is necessary to include services in the boot procedure that don't start automatically. If you want to do this, you should edit the /etc/init.d/boot.local script. In this script, you can include all the services you want to add to the boot procedure; that way, you can be sure they don't interfere with the services that are started from /etc/init.d/boot. Make sure that in this script, you include only those services that should be activated immediately after booting and before the first runlevel.

■ Note If there's a conflict between a setting in a boot script from /etc/init.d/boot.dand a setting you've created yourself in the boot.local script, your setting from boot.local will always win.This is because the system reads it last, so it is applied last as well.

Was this article helpful?

0 0

Post a comment