summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-08 11:27:31 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-12 08:38:20 +0200
commit153d5dfd871da3980b956ba65da20d7d022f2b03 (patch)
tree6e10bd7c147c0b163e4851b932916a85811c722e /man
parent32b0be0eb865ede98fafa5cfb5f1871fa402d299 (diff)
downloadsystemd-153d5dfd871da3980b956ba65da20d7d022f2b03.tar.gz
core: Try to initialize TERM from systemd.tty.term.console as well
We already have the systemd.tty.xxx kernel cmdline arguments for configuring tty's for services, let's make sure the term cmdline argument applies to pid1 as well.
Diffstat (limited to 'man')
-rw-r--r--man/kernel-command-line.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/man/kernel-command-line.xml b/man/kernel-command-line.xml
index 09f8ace4de..211ae5ac57 100644
--- a/man/kernel-command-line.xml
+++ b/man/kernel-command-line.xml
@@ -590,8 +590,10 @@
<listitem><para>These arguments allow configuring default values for <varname>$TERM</varname>,
<varname>TTYRows=</varname>, and <varname>TTYColumns=</varname> for tty
- <replaceable>tty</replaceable>. The tty name should be specified without the
- <filename>/dev/</filename> prefix (e.g. <literal>systemd.tty.rows.ttyS0=80</literal>).
+ <replaceable>tty</replaceable>. Additionally, <varname>systemd.tty.term.console</varname> will
+ configure the <varname>$TERM</varname> value used by <command>systemd</command> if not set explicitly
+ using <varname>TERM</varname> on the kernel command line. The tty name should be specified without
+ the <filename>/dev/</filename> prefix (e.g. <literal>systemd.tty.rows.ttyS0=80</literal>).
</para></listitem>
</varlistentry>
</variablelist>