]>
Commit | Line | Data |
---|---|---|
663996b3 MS |
1 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>telinit</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style> |
2 | a.headerlink { | |
3 | color: #c60f0f; | |
4 | font-size: 0.8em; | |
5 | padding: 0 4px 0 4px; | |
6 | text-decoration: none; | |
7 | visibility: hidden; | |
8 | } | |
9 | ||
10 | a.headerlink:hover { | |
11 | background-color: #c60f0f; | |
12 | color: white; | |
13 | } | |
14 | ||
15 | h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink { | |
16 | visibility: visible; | |
17 | } | |
18 | </style><a href="index.html">Index </a>· | |
19 | <a href="systemd.directives.html">Directives </a>· | |
20 | <a href="../python-systemd/index.html">Python </a>· | |
21 | <a href="../libudev/index.html">libudev </a>· | |
14228c0d | 22 | <a href="../libudev/index.html">gudev </a><span style="float:right">systemd 208</span><hr><div class="refentry"><a name="telinit"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>telinit — Change SysV runlevel</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">telinit [OPTIONS...] {COMMAND}</code> </p></div></div><div class="refsect1"><a name="idm274685255728"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description">¶</a></h2><p><span class="command"><strong>telinit</strong></span> may be used to change |
663996b3 MS |
23 | the SysV system runlevel. Since the concept of SysV |
24 | runlevels is obsolete the runlevel requests | |
25 | will be transparently translated into systemd unit | |
14228c0d MB |
26 | activation requests.</p></div><div class="refsect1"><a name="idm274685253712"></a><h2 id="Options">Options<a class="headerlink" title="Permalink to this headline" href="#Options">¶</a></h2><p>The following options are understood:</p><div class="variablelist"><dl class="variablelist"><dt id="--help"><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#--help">¶</a></dt><dd><p>Prints a short help |
27 | text and exits.</p></dd><dt id="--no-wall"><span class="term"><code class="option">--no-wall</code></span><a class="headerlink" title="Permalink to this term" href="#--no-wall">¶</a></dt><dd><p>Do not send wall | |
663996b3 MS |
28 | message before |
29 | reboot/halt/power-off.</p></dd></dl></div><p>The following commands are understood:</p><div class="variablelist"><dl class="variablelist"><dt id="0"><span class="term"><span class="command"><strong>0</strong></span></span><a class="headerlink" title="Permalink to this term" href="#0">¶</a></dt><dd><p>Power-off the | |
30 | machine. This is translated into an | |
31 | activation request for | |
32 | <code class="filename">poweroff.target</code> | |
33 | and is equivalent to | |
34 | <span class="command"><strong>systemctl | |
35 | poweroff</strong></span>.</p></dd><dt id="6"><span class="term"><span class="command"><strong>6</strong></span></span><a class="headerlink" title="Permalink to this term" href="#6">¶</a></dt><dd><p>Reboot the | |
36 | machine. This is translated into an | |
37 | activation request for | |
38 | <code class="filename">reboot.target</code> and | |
39 | is equivalent to <span class="command"><strong>systemctl | |
40 | reboot</strong></span>.</p></dd><dt id="2"><span class="term"><span class="command"><strong>2</strong></span>, </span><span class="term"><span class="command"><strong>3</strong></span>, </span><span class="term"><span class="command"><strong>4</strong></span>, </span><span class="term"><span class="command"><strong>5</strong></span></span><a class="headerlink" title="Permalink to this term" href="#2">¶</a></dt><dd><p>Change the SysV | |
41 | runlevel. This is translated into an | |
42 | activation request for | |
43 | <code class="filename">runlevel2.target</code>, | |
44 | <code class="filename">runlevel3.target</code>, | |
45 | ... and is equivalent to | |
46 | <span class="command"><strong>systemctl isolate | |
47 | runlevel2.target</strong></span>, | |
48 | <span class="command"><strong>systemctl isolate | |
49 | runlevel3.target</strong></span>, | |
50 | ...</p></dd><dt id="1"><span class="term"><span class="command"><strong>1</strong></span>, </span><span class="term"><span class="command"><strong>s</strong></span>, </span><span class="term"><span class="command"><strong>S</strong></span></span><a class="headerlink" title="Permalink to this term" href="#1">¶</a></dt><dd><p>Change into system | |
51 | rescue mode. This is translated into | |
52 | an activation request for | |
53 | <code class="filename">rescue.target</code> and | |
54 | is equivalent to <span class="command"><strong>systemctl | |
55 | rescue</strong></span>.</p></dd><dt id="q"><span class="term"><span class="command"><strong>q</strong></span>, </span><span class="term"><span class="command"><strong>Q</strong></span></span><a class="headerlink" title="Permalink to this term" href="#q">¶</a></dt><dd><p>Reload daemon | |
56 | configuration. This is equivalent to | |
57 | <span class="command"><strong>systemctl | |
58 | daemon-reload</strong></span>.</p></dd><dt id="u"><span class="term"><span class="command"><strong>u</strong></span>, </span><span class="term"><span class="command"><strong>U</strong></span></span><a class="headerlink" title="Permalink to this term" href="#u">¶</a></dt><dd><p>Serialize state, | |
59 | reexecute daemon and deserialize state | |
60 | again. This is equivalent to | |
61 | <span class="command"><strong>systemctl | |
14228c0d MB |
62 | daemon-reexec</strong></span>.</p></dd></dl></div></div><div class="refsect1"><a name="idm274689119776"></a><h2 id="Exit status">Exit status<a class="headerlink" title="Permalink to this headline" href="#Exit%20status">¶</a></h2><p>On success 0 is returned, a non-zero failure |
63 | code otherwise.</p></div><div class="refsect1"><a name="idm274689118592"></a><h2 id="Notes">Notes<a class="headerlink" title="Permalink to this headline" href="#Notes">¶</a></h2><p>This is a legacy command available for compatibility | |
663996b3 | 64 | only. It should not be used anymore, as the concept of |
14228c0d | 65 | runlevels is obsolete.</p></div><div class="refsect1"><a name="idm274689117232"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also">¶</a></h2><p> |
663996b3 MS |
66 | <a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>, |
67 | <a href="systemctl.html"><span class="citerefentry"><span class="refentrytitle">systemctl</span>(1)</span></a>, | |
68 | <a href="wall.html"><span class="citerefentry"><span class="refentrytitle">wall</span>(1)</span></a> | |
69 | </p></div></div></body></html> |