commit 5cb301bae61e493397095a2ac9b63d65ac5126e0
parent db17f1be219f29c9e07b0ae65b89758d31e6bf68
Author: Gerrit Pape <pape@smarden.org>
Date: Mon, 26 Nov 2001 11:32:21 +0000
docs.
Diffstat:
2 files changed, 24 insertions(+), 18 deletions(-)
diff --git a/doc/runit-init.8.html b/doc/runit-init.8.html
@@ -22,21 +22,26 @@ while the system is up, it must be either called as <B>init 0</B> or <B>init 6:<
<DT><B>init
0</B> </DT>
-<DD>run <B><I>runit-halt</B>(8)</I> to halt the system. </DD>
+<DD>tells the Unix process no 1 to shutdown and halt the system. To signal
+<B><I>runit</B>(8)</I> the system halt request, the <I>/etc/runit/reboot</I> file is removed
+and <I>/etc/runit/stopit</I> is touched. Then a CONT signal is sent to <B><I>runit</B>(8)</I>.
+</DD>
<DT><B>init 6</B> </DT>
-<DD>run <B><I>runit-reboot</B>(8)</I> to reboot
-the system. </DD>
+<DD>tells the Unix process no 1 to shutdown and reboot the system. To
+signal <B><I>runit</B>(8)</I> the system reboot request, the <I>/etc/runit/reboot</I> and <I>/etc/runit/stopit</I>
+files are touched. Then a CONT signal is sent to <B><I>runit</B>(8)</I>. </DD>
</DL>
<H2><A NAME="sect3">Exit Codes</A></H2>
-<B>runit-init</B> returns 111 on error, 0 in all other cases.
-
+<B>runit-init</B>
+returns 111 on error, 0 in all other cases.
<H2><A NAME="sect4">See Also</A></H2>
-<I>runit(8)</I>, <I>runit-halt(8)</I>, <I>runit-reboot(8)</I>
+<I>runit(8)</I> <P>
+ <I>http://smarden.org/pape/runit/</I>
+
<H2><A NAME="sect5">Author</A></H2>
-Gerrit Pape <pape@smarden.org>
-<P>
+Gerrit Pape <pape@smarden.org> <P>
<HR><P>
<A NAME="toc"><B>Table of Contents</B></A><P>
diff --git a/doc/runit.8.html b/doc/runit.8.html
@@ -34,18 +34,19 @@ the system is rebooted, it is halted otherwise.
<H2><A NAME="sect6">Ctrl-alt-del</A></H2>
If <B>runit</B> receives
the ctrl-alt-del keyboard request and the file <I>/etc/runit/ctrlaltdel</I> exists,
-<B>runit</B> runs <I>/etc/runit/ctrlaltdel</I>, waits for it to terminate and then enters
-Stage 3 for system shutdown.
+<B>runit</B> runs <I>/etc/runit/ctrlaltdel</I>, waits for it to terminate and then sends
+itself a CONT signal.
<H2><A NAME="sect7">Signals</A></H2>
-<B>runit</B> only accepts signals in Stage
-2. <P>
-If <B>runit</B> receives a CONT signal and the file <I>/etc/runit/stopit</I> exists,
-<B>runit</B> is told to shutdown the system. <P>
-if <B>runit</B> receives an INT signal, a
-ctrl-alt-del keyboard request is triggered.
+<B>runit</B> only accepts signals in Stage 2. <P>
+If <B>runit</B>
+receives a CONT signal and the file <I>/etc/runit/stopit</I> exists, <B>runit</B> is
+told to shutdown the system. <P>
+if <B>runit</B> receives an INT signal, a ctrl-alt-del
+keyboard request is triggered.
<H2><A NAME="sect8">See Also</A></H2>
-<I>init(8)</I>, <I>runit-halt(8)</I>,
-<I>runit-reboot(8)</I>
+<I>runit-init(8)</I> <P>
+ <I>http://smarden.org/pape/runit/</I>
+
<H2><A NAME="sect9">Author</A></H2>
Gerrit Pape <pape@smarden.org> <P>