mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-24 12:44:41 +00:00
Instead of tracking git upstream directly, the upstream branch now contains the contents of the orig tarball available at http://www.freedesktop.org/software/systemd/
49 lines
3.7 KiB
HTML
49 lines
3.7 KiB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>systemd-getty-generator</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
|
|
a.headerlink {
|
|
color: #c60f0f;
|
|
font-size: 0.8em;
|
|
padding: 0 4px 0 4px;
|
|
text-decoration: none;
|
|
visibility: hidden;
|
|
}
|
|
|
|
a.headerlink:hover {
|
|
background-color: #c60f0f;
|
|
color: white;
|
|
}
|
|
|
|
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
|
|
visibility: visible;
|
|
}
|
|
</style><a href="index.html">Index </a>·
|
|
<a href="systemd.directives.html">Directives </a>·
|
|
<a href="../python-systemd/index.html">Python </a>·
|
|
<a href="../libudev/index.html">libudev </a>·
|
|
<a href="../libudev/index.html">gudev </a><span style="float:right">systemd 204</span><hr><div class="refentry"><a name="systemd-getty-generator"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>systemd-getty-generator — Generator for enabling getty instances on
|
|
the console</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p><code class="filename">/usr/lib/systemd/system-generators/systemd-getty-generator</code></p></div><div class="refsect1"><a name="idm259801368992"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description">¶</a></h2><p><code class="filename">systemd-getty-generator</code> is
|
|
a generator that automatically instantiates
|
|
<code class="filename">serial-getty@.service</code> on the
|
|
kernel console <code class="filename">/dev/console</code> if
|
|
that is not directed to the virtual console
|
|
subsystem. It will also instantiate
|
|
<code class="filename">serial-getty@.service</code> instances
|
|
for virtualizer consoles, if execution in a
|
|
virtualized environment is detected. This should
|
|
ensure that the user is shown a login prompt at the
|
|
right place, regardless in which environment the
|
|
system is started. For example, it is sufficient to
|
|
redirect the kernel console with a kernel command line
|
|
argument such as <code class="varname">console=</code> to get
|
|
both kernel messages and a getty prompt on a serial
|
|
TTY. See <a class="ulink" href="https://www.kernel.org/doc/Documentation/kernel-parameters.txt" target="_top"><code class="filename">kernel-parameters.txt</code></a>
|
|
for more information on the
|
|
<code class="varname">console=</code> kernel parameter.</p><p><code class="filename">systemd-getty-generator</code>
|
|
implements the <a class="ulink" href="http://www.freedesktop.org/wiki/Software/systemd/Generators" target="_top">generator
|
|
specification</a>.</p><p>Further information about configuration of
|
|
gettys you may find in <a class="ulink" href="http://0pointer.de/blog/projects/serial-console.html" target="_top">systemd
|
|
for Administrators, Part XVI: Gettys on Serial
|
|
Consoles (and Elsewhere)</a>.</p></div><div class="refsect1"><a name="idm259801288224"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also">¶</a></h2><p>
|
|
<a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>,
|
|
<a href="agetty.html"><span class="citerefentry"><span class="refentrytitle">agetty</span>(8)</span></a>
|
|
</p></div></div></body></html>
|