Update docs a bit about runlevel 1.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2023-04-22 15:11:27 +02:00
1 parent f954a4cb92
commit 9a962c86c8
3 files changed
+13 -2

No files matched your search

+3
View File
@@ -541,6 +541,9 @@ The system runlevel to go to after [bootstrap][] (S) has completed. `N`
is the runlevel number 0-9, where 6 is reserved for reboot and 0 for is the runlevel number 0-9, where 6 is reserved for reboot and 0 for
halt. halt.
It is recommended to keep runlevel 1 as single-user mode, because
Finit disables networking in this mode.
*Default:* 2 *Default:* 2
> **Note:** only read and executed in runlevel S ([bootstrap][]). > **Note:** only read and executed in runlevel S ([bootstrap][]).
+5 -1
View File
@@ -2,7 +2,7 @@
.\" First parameter, NAME, should be all caps .\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1) .\" other parameters are allowed: see man(7), man(1)
.Dd June 6, 2021 .Dd Apr 22, 2023
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.Dt FINIT 8 SMM .Dt FINIT 8 SMM
.Os Linux .Os Linux
@@ -148,6 +148,10 @@ the regular runlevel. All services and TTYs in
will be started, e.g., a will be started, e.g., a
.Cm tty [1] @console nologin .Cm tty [1] @console nologin
configuration presents you with a root console without login. configuration presents you with a root console without login.
.Pp
.Sy Note:
by definition, single user mode does not have networking enabled. This
is also true for runlevel 1.
.El .El
.Sh BOOTING .Sh BOOTING
.Pp .Pp
+5 -1
View File
@@ -2,7 +2,7 @@
.\" First parameter, NAME, should be all caps .\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1) .\" other parameters are allowed: see man(7), man(1)
.Dd Oct 17, 2020 .Dd Apr 22, 2023
.Dt FINIT.CONF 5 SMM .Dt FINIT.CONF 5 SMM
.Os Linux .Os Linux
.Sh NAME .Sh NAME
@@ -115,6 +115,10 @@ is the runlevel number 0-9, where 6 is reserved for reboot and 0 for
halt. All other can be used by operating system administrators. halt. All other can be used by operating system administrators.
Default: 2 Default: 2
.Pp .Pp
It s recommended to keep runlevel 1 as single-user mode, because
.Nm
disables networking in this mode.
.Pp
.Sy Note: .Sy Note:
only read and executed in runlevel S (bootstrap). only read and executed in runlevel S (bootstrap).
.It Cm run Oo LVLS Oc Ao COND Ac Ar /path/to/cmd ARGS Op -- Optional description .It Cm run Oo LVLS Oc Ao COND Ac Ar /path/to/cmd ARGS Op -- Optional description