From 3843f62aa83ff5daf9c1f111d0d7f9fc95f95c9a Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Fri, 29 Dec 2017 20:51:42 +0100 Subject: [PATCH] README.md: Update with difference between runparts & /etc/rc.local Signed-off-by: Joachim Nilsson --- README.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c11f005f..3496d12e 100644 --- a/README.md +++ b/README.md @@ -240,19 +240,23 @@ For more information, see [doc/plugins.md](doc/plugins.md). Runparts & /etc/rc.local ------------------------ -At the end of the boot, when networking and all services are up, Finit -calls its built-in [run-parts(8)][] on the `runparts ` directory, -and `/etc/rc.local`, in that order if they exist. +At the end of the boot, when all bootstrap (`S`) tasks and services and +networking has started, Finit calls its built-in [run-parts(8)][] on the +`runparts ` directory. This happens just before changing to the +configured runlevel (default 2). ```shell runparts /etc/rc.d/ ``` +Right after the runlevel change when all services have started properly, +`/etc/rc.local` is called. + No configuration stanza in `/etc/finit.conf` is required for `rc.local`. -If it exists and is an executable shell script, finit calls it at the -very end of the boot, before calling the `HOOK_SYSTEM_UP`. See more on -hooks in [doc/plugins.md](doc/plugins.md#hooks), and about the system -bootstrap in [doc/bootstrap.md](doc/bootstrap.md). +If it exists and is an executable shell script Finit calls it at the very +end of the boot, before calling the `HOOK_SYSTEM_UP`. See more on hooks +in [doc/plugins.md](doc/plugins.md#hooks), and about the system bootstrap +in [doc/bootstrap.md](doc/bootstrap.md). Runlevels