[deployment-guide/comm-rel: 9/26] Created table of available runlevels.

dsilas dsilas at fedoraproject.org
Mon Jun 21 11:42:18 UTC 2010


commit 4cb7682ea82c0675761da70efb8da8854173abe6
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Mon Jun 14 10:55:47 2010 +0200

    Created table of available runlevels.
    
    Personally, I think it is much readable than the simple list that was
    used before. It is also easier to refer to it.

 en-US/Controlling_Access_to_Services.xml |   80 +++++++++++++++++++++---------
 1 files changed, 57 insertions(+), 23 deletions(-)
---
diff --git a/en-US/Controlling_Access_to_Services.xml b/en-US/Controlling_Access_to_Services.xml
index 23ff981..14ad9c4 100644
--- a/en-US/Controlling_Access_to_Services.xml
+++ b/en-US/Controlling_Access_to_Services.xml
@@ -49,29 +49,63 @@
     <title>Configuring the Default Runlevel</title>
     <para>Before you can configure access to services, you must understand Linux runlevels. A runlevel is a state, or <firstterm>mode</firstterm>, that is defined by the services listed in the directory <filename>/etc/rc.d/rc<replaceable>&lt;x&gt;</replaceable>.d</filename>, where <replaceable>&lt;x&gt;</replaceable> is the number of the runlevel.</para>
     <para>The following runlevels exist:</para>
-    <itemizedlist>
-      <listitem>
-        <para>0 — Halt</para>
-      </listitem>
-      <listitem>
-        <para>1 — Single-user mode</para>
-      </listitem>
-      <listitem>
-        <para>2 — Not used (user-definable)</para>
-      </listitem>
-      <listitem>
-        <para>3 — Full multi-user mode</para>
-      </listitem>
-      <listitem>
-        <para>4 — Not used (user-definable)</para>
-      </listitem>
-      <listitem>
-        <para>5 — Full multi-user mode (with an X-based login screen)</para>
-      </listitem>
-      <listitem>
-        <para>6 — Reboot</para>
-      </listitem>
-    </itemizedlist>
+    <table id="table-services-runlevels">
+      <title>Runlevels in &MAJOROS;</title>
+      <tgroup cols="2">
+        <colspec colname="runlevel" colnum="1" colwidth="10*" />
+        <colspec colname="description" colnum="2" colwidth="60*" />
+        <thead>
+          <row>
+            <entry>Runlevel</entry>
+            <entry>Description</entry>
+          </row>
+        </thead>
+        <tbody>
+          <row>
+            <entry><option>0</option></entry>
+            <entry>
+              Used to halt the system. This runlevel is reserved and cannot be changed.
+            </entry>
+          </row>
+          <row>
+            <entry><option>1</option></entry>
+            <entry>
+              Used to run in a single-user mode. This runlevel is reserved and cannot be changed.
+            </entry>
+          </row>
+          <row>
+            <entry><option>2</option></entry>
+            <entry>
+              Not used by default. You are free to define it yourself.
+            </entry>
+          </row>
+          <row>
+            <entry><option>3</option></entry>
+            <entry>
+              Used to run in full multi-user mode with a command line user interface.
+            </entry>
+          </row>
+          <row>
+            <entry><option>4</option></entry>
+            <entry>
+              Not used by default. You are free to define it yourself.
+            </entry>
+          </row>
+          <row>
+            <entry><option>5</option></entry>
+            <entry>
+              Used to run in full multi-user mode with a graphical user interface.
+            </entry>
+          </row>
+          <row>
+            <entry><option>6</option></entry>
+            <entry>
+              Used to reboot the system. This runlevel is reserved and cannot be changed.
+            </entry>
+          </row>
+        </tbody>
+      </tgroup>
+    </table>
     <para>If you use a text login screen, you are operating in runlevel 3. If you use a graphical login screen, you are operating in runlevel 5.</para>
     <para>The default runlevel can be changed by modifying the <filename>/etc/inittab</filename> file, which contains a line near the top of the file similar to the following:</para>
     <screen>id:5:initdefault:</screen>


More information about the docs-commits mailing list