the Free Software Foundation; either version 2 of the License, or (at your option) any later version. systemd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License <
productname>systemd</
productname>
<
contrib>Developer</
contrib>
<
firstname>Lennart</
firstname>
<
surname>Poettering</
surname>
<
email>lennart@poettering.net</
email>
<
refentrytitle>telinit</
refentrytitle>
<
refname>telinit</
refname>
<
refpurpose>Change SysV runlevel</
refpurpose>
<
command>telinit <
arg choice="opt" rep="repeat">OPTIONS</
arg> <
arg choice="req">COMMAND</
arg></
command>
<
title>Description</
title>
<
para><
command>telinit</
command> may be used to change
the SysV system runlevel. Since the concept of SysV
runlevels is obsolete the runlevel requests
will be transparently translated into systemd unit
activation requests.</
para>
<
para>The following options are understood:</
para>
<
term><
option>--help</
option></
term>
<
listitem><
para>Prints a short help
text and exits.</
para></
listitem>
<
term><
option>--no-wall</
option></
term>
<
listitem><
para>Don't send wall
<
para>The following commands are understood:</
para>
<
term><
command>0</
command></
term>
<
listitem><
para>Power-off the
machine. This is translated into an
poweroff</
command>.</
para></
listitem>
<
term><
command>6</
command></
term>
<
listitem><
para>Reboot the
machine. This is translated into an
is equivalent to <
command>systemctl
reboot</
command>.</
para></
listitem>
<
term><
command>2</
command></
term>
<
term><
command>3</
command></
term>
<
term><
command>4</
command></
term>
<
term><
command>5</
command></
term>
<
listitem><
para>Change the SysV
runlevel. This is translated into an
<
term><
command>1</
command></
term>
<
term><
command>s</
command></
term>
<
term><
command>S</
command></
term>
<
listitem><
para>Change into system
rescue mode. This is translated into
an activation request for
is equivalent to <
command>systemctl
rescue</
command>.</
para></
listitem>
<
term><
command>q</
command></
term>
<
term><
command>Q</
command></
term>
<
listitem><
para>Reload daemon
configuration. This is equivalent to
daemon-reload</
command>.</
para></
listitem>
<
term><
command>u</
command></
term>
<
term><
command>U</
command></
term>
<
listitem><
para>Serialize state,
reexecute daemon and deserialize state
again. This is equivalent to
daemon-reexec</
command>.</
para></
listitem>
<
title>Exit status</
title>
<
para>On success 0 is returned, a non-zero failure
<
para>This is a legacy command available for compatibility
only. It should not be used anymore, as the concept of
runlevels is obsolete.</
para>
<
citerefentry><
refentrytitle>systemd</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
<
citerefentry><
refentrytitle>systemctl</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
<
citerefentry><
refentrytitle>wall</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>