[deployment-guide/comm-rel: 101/727] Updated the /etc/sysconfig/init section.

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 12:32:40 UTC 2010


commit a65cd0f9f6742f7d264b37e722b280c1527a9a36
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Thu Jul 22 13:25:43 2010 +0200

    Updated the /etc/sysconfig/init section.

 en-US/The_sysconfig_Directory.xml |  191 +++++++++++++++++++++---------------
 1 files changed, 111 insertions(+), 80 deletions(-)
---
diff --git a/en-US/The_sysconfig_Directory.xml b/en-US/The_sysconfig_Directory.xml
index 0d1a5ba..d89aae6 100644
--- a/en-US/The_sysconfig_Directory.xml
+++ b/en-US/The_sysconfig_Directory.xml
@@ -357,87 +357,118 @@
         <secondary><filename>/etc/sysconfig/init</filename></secondary>
       </indexterm>
       <para>
-        The <filename>/etc/sysconfig/init</filename> file controls how the system appears and functions during the boot process.
+        The <filename>/etc/sysconfig/init</filename> file controls how the system appears and functions during the boot process. By default, it contains the following options:
       </para>
-      <para>
-        The following values may be used:
-      </para>
-      <itemizedlist>
-        <listitem>
-          <para>
-            <command>BOOTUP=<replaceable>&lt;value&gt;</replaceable></command>, where <command><replaceable>&lt;value&gt;</replaceable></command> is one of the following:
-          </para>
-          <itemizedlist>
-            <listitem>
-              <para>
-                <command>color</command> — The standard color boot display, where the success or failure of devices and services starting up is shown in different colors.
-              </para>
-            </listitem>
-            <listitem>
-              <para>
-                <command>verbose</command> — An old style display which provides more information than purely a message of success or failure.
-              </para>
-            </listitem>
-            <listitem>
-              <para>
-                Anything else means a new display, but without ANSI-formatting.
-              </para>
-            </listitem>
-          </itemizedlist>
-        </listitem>
-        <listitem>
-          <para>
-            <command>RES_COL=<replaceable>&lt;value&gt;</replaceable></command>, where <command><replaceable>&lt;value&gt;</replaceable></command> is the number of the column of the screen to start status labels. The default is set to 60.
-          </para>
-        </listitem>
-        <listitem>
-          <para>
-            <command>MOVE_TO_COL=<replaceable>&lt;value&gt;</replaceable></command>, where <command><replaceable>&lt;value&gt;</replaceable></command> moves the cursor to the value in the <filename>RES_COL</filename> line via the <command>echo -en</command> command.
-          </para>
-        </listitem>
-        <listitem>
-          <para>
-            <command>SETCOLOR_SUCCESS=<replaceable>&lt;value&gt;</replaceable></command>, where <command><replaceable>&lt;value&gt;</replaceable></command> sets the success color via the <command>echo -en</command> command. The default color is set to green.
-          </para>
-        </listitem>
-        <listitem>
-          <para>
-            <command>SETCOLOR_FAILURE=<replaceable>&lt;value&gt;</replaceable></command>, where <command><replaceable>&lt;value&gt;</replaceable></command> sets the failure color via the <command>echo -en</command> command. The default color is set to red.
-          </para>
-        </listitem>
-        <listitem>
-          <para>
-            <command>SETCOLOR_WARNING=<replaceable>&lt;value&gt;</replaceable></command>, where <command><replaceable>&lt;value&gt;</replaceable></command> sets the warning color via the <command>echo -en</command> command. The default color is set to yellow.
-          </para>
-        </listitem>
-        <listitem>
-          <para>
-            <command>SETCOLOR_NORMAL=<replaceable>&lt;value&gt;</replaceable></command>, where <command><replaceable>&lt;value&gt;</replaceable></command> resets the color to "normal" via the <command>echo -en</command>.
-          </para>
-        </listitem>
-        <listitem>
-          <para>
-            <command>LOGLEVEL=<replaceable>&lt;value&gt;</replaceable></command>, where <command><replaceable>&lt;value&gt;</replaceable></command> sets the initial console logging level for the kernel. The default is 3; 8 means everything (including debugging), while 1 means only kernel panics. The <command>rsyslog</command> daemon overrides this setting once started.
-          </para>
-        </listitem>
-        <listitem>
-          <para>
-            <command>PROMPT=<replaceable>&lt;value&gt;</replaceable></command>, where <command><replaceable>&lt;value&gt;</replaceable></command> is one of the following boolean values:
-          </para>
-          <itemizedlist>
-            <listitem>
-              <para>
-                <command>yes</command> — Enables the key check for interactive mode.
-              </para>
-            </listitem>
-            <listitem>
-              <para>
-                <command>no</command> — Disables the key check for interactive mode.
-              </para>
-            </listitem>
-          </itemizedlist>
-        </listitem>
-      </itemizedlist>
+      <variablelist>
+        <varlistentry>
+          <term><option>BOOTUP=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The bootup style. The value has to be either <option>color</option> (the standard color boot display), <option>verbose</option> (an old style display which provides more information), or anything else for the new style display, but without ANSI formatting. For example:
+            </para>
+            <screen>BOOTUP=color</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>RES_COL=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The number of the column in which the status labels start. For example:
+            </para>
+            <screen>RES_COL=60</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>MOVE_TO_COL=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The terminal sequence to move the cursor to the column specified in <option>RES_COL</option> (see above). For example:
+            </para>
+            <screen>MOVE_TO_COL="echo -en \\033[${RES_COL}G"</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>SETCOLOR_SUCCESS=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The terminal sequence to set the success color. For example:
+            </para>
+            <screen>SETCOLOR_SUCCESS="echo -en \\033[0;32m"</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>SETCOLOR_FAILURE=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The terminal sequence to set the failure color. For example:
+            </para>
+            <screen>SETCOLOR_FAILURE="echo -en \\033[0;31m"</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>SETCOLOR_WARNING=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The terminal sequence to set the warning color. For example:
+            </para>
+            <screen>SETCOLOR_WARNING="echo -en \\033[0;33m"</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>SETCOLOR_NORMAL=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The terminal sequence to set the default color. For example:
+            </para>
+            <screen>SETCOLOR_NORMAL="echo -en \\033[0;39m"</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>LOGLEVEL=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The initial console logging level. The <replaceable>value</replaceable> has to be in the range from <option>1</option> (kernel panics only) to <option>8</option> (everything, including the debugging information). For example:
+            </para>
+            <screen>LOGLEVEL=3</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>PROMPT=<replaceable>boolean</replaceable></option></term>
+          <listitem>
+            <para>
+              A boolean to enable (<option>yes</option>) or disable (<option>no</option>) the hotkey interactive startup. For example:
+            </para>
+            <screen>PROMPT=yes</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>AUTOSWAP=<replaceable>boolean</replaceable></option></term>
+          <listitem>
+            <para>
+              A boolean to enable (<option>yes</option>) or disable (<option>no</option>) probing for devices with swap signatures. For example:
+            </para>
+            <screen>AUTOSWAP=no</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>ACTIVE_CONSOLES=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The list of active consoles. For example:
+            </para>
+            <screen>ACTIVE_CONSOLES=/dev/tty[1-6]</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>SINGLE=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The single-user mode type. The <replaceable>value</replaceable> has to be either <option>/sbin/sulogin</option> (a user will be prompted for a password to log in), or <option>/sbin/sushell</option> (the user will be logged in directly). For example:
+            </para>
+              <screen>SINGLE=/sbin/sushell</screen>
+          </listitem>
+        </varlistentry>
+      </variablelist>
     </section>
     <section id="s2-sysconfig-ip6tables">
       <title><filename>/etc/sysconfig/ip6tables-config</filename></title>


More information about the docs-commits mailing list