man-pages/man8/telinit.8.html
2021-03-31 01:06:50 +01:00

167 lines
3.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of TELINIT</TITLE>
</HEAD><BODY>
<H1>TELINIT</H1>
Section: telinit (8)<BR>Updated: <BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
telinit - Change SysV runlevel
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<DL COMPACT>
<DT id="1">
<B>telinit </B><B>[OPTIONS...]</B><B> </B><B>{COMMAND}</B>
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
<B>telinit</B>
<DD>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.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<P>
The following options are understood:
<P>
<B>--help</B>
<DL COMPACT><DT id="2"><DD>
Print a short help text and exit.
</DL>
<P>
<B>--no-wall</B>
<DL COMPACT><DT id="3"><DD>
Do not send wall message before reboot/halt/power-off.
</DL>
<P>
The following commands are understood:
<P>
<B>0</B>
<DL COMPACT><DT id="4"><DD>
Power-off the machine. This is translated into an activation request for
poweroff.target
and is equivalent to
<B>systemctl poweroff</B>.
</DL>
<P>
<B>6</B>
<DL COMPACT><DT id="5"><DD>
Reboot the machine. This is translated into an activation request for
reboot.target
and is equivalent to
<B>systemctl reboot</B>.
</DL>
<P>
<B>2</B>, <B>3</B>, <B>4</B>, <B>5</B>
<DL COMPACT><DT id="6"><DD>
Change the SysV runlevel. This is translated into an activation request for
runlevel2.target,
runlevel3.target, ... and is equivalent to
<B>systemctl isolate runlevel2.target</B>,
<B>systemctl isolate runlevel3.target</B>, ...
</DL>
<P>
<B>1</B>, <B>s</B>, <B>S</B>
<DL COMPACT><DT id="7"><DD>
Change into system rescue mode. This is translated into an activation request for
rescue.target
and is equivalent to
<B>systemctl rescue</B>.
</DL>
<P>
<B>q</B>, <B>Q</B>
<DL COMPACT><DT id="8"><DD>
Reload daemon configuration. This is equivalent to
<B>systemctl daemon-reload</B>.
</DL>
<P>
<B>u</B>, <B>U</B>
<DL COMPACT><DT id="9"><DD>
Serialize state, reexecute daemon and deserialize state again. This is equivalent to
<B>systemctl daemon-reexec</B>.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>EXIT STATUS</H2>
<P>
On success, 0 is returned, a non-zero failure code otherwise.
<A NAME="lbAG">&nbsp;</A>
<H2>NOTES</H2>
<P>
This is a legacy command available for compatibility only. It should not be used anymore, as the concept of runlevels is obsolete.
<A NAME="lbAH">&nbsp;</A>
<H2>SEE ALSO</H2>
<P>
<B><A HREF="/cgi-bin/man/man2html?1+systemd">systemd</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+systemctl">systemctl</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+wall">wall</A></B>(1)
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="10"><A HREF="#lbAB">NAME</A><DD>
<DT id="11"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="12"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="13"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="14"><A HREF="#lbAF">EXIT STATUS</A><DD>
<DT id="15"><A HREF="#lbAG">NOTES</A><DD>
<DT id="16"><A HREF="#lbAH">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:18 GMT, March 31, 2021
</BODY>
</HTML>