diff options
author | Cem Keylan <cem@ckyln.com> | 2020-12-26 03:23:39 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-12-26 03:23:39 +0300 |
commit | 374252a55c14f92aaed73b3917ed783bf2762911 (patch) | |
tree | 5117e1db656639a01d392da07cae6b1a2150cd55 /src/docs/Configuring-Init.html | |
parent | a25685ba1f185ad4c2bb858a8e2472dfc17d7c26 (diff) | |
download | website-374252a55c14f92aaed73b3917ed783bf2762911.tar.gz |
docs: update
Diffstat (limited to 'src/docs/Configuring-Init.html')
-rw-r--r-- | src/docs/Configuring-Init.html | 62 |
1 files changed, 17 insertions, 45 deletions
diff --git a/src/docs/Configuring-Init.html b/src/docs/Configuring-Init.html index eddc1ac..93f7f35 100644 --- a/src/docs/Configuring-Init.html +++ b/src/docs/Configuring-Init.html @@ -7,7 +7,8 @@ under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free -Documentation License." --> +Documentation License." + --> <!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> @@ -21,7 +22,7 @@ Documentation License." --> <link href="index.html" rel="start" title="Top"> <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> <link href="Init-System.html" rel="up" title="Init System"> -<link href="Init-Hooks.html" rel="next" title="Init Hooks"> +<link href="Kernel-Command-Line.html" rel="next" title="Kernel Command Line"> <link href="Init-System.html" rel="prev" title="Init System"> <style type="text/css"> <!-- @@ -48,56 +49,27 @@ ul.no-bullet {list-style: none} <body lang="en"> <span id="Configuring-Init"></span><div class="header"> <p> -Next: <a href="Init-Hooks.html" accesskey="n" rel="next">Init Hooks</a>, Up: <a href="Init-System.html" accesskey="u" rel="up">Init System</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p> +Next: <a href="Changing-Init-Program.html" accesskey="n" rel="next">Changing Init Program</a>, Up: <a href="Init-System.html" accesskey="u" rel="up">Init System</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p> </div> <hr> -<span id="Configuring-Init-1"></span><h3 class="section">3.1 Configuring Init</h3> +<span id="Configuring-Init-1"></span><h3 class="section">2.1 Configuring Init</h3> <p>There are three ways you can change the behaviour of the init system. Those are: </p> -<ol> +<ul> <li> Kernel Command Line -</li><li> <samp>/etc/init/rc.conf</samp> file +</li><li> ‘<samp>/etc/init/rc.conf</samp>’ file </li><li> Init Hooks -</li></ol> - - - -<span id="Kernel-Command-Line"></span><h4 class="subsection">3.1.1 Kernel Command Line</h4> - -<p>On GRUB, you can edit the kernel command line parameters, which will be parsed -as variables on the init system. Not all of the parameters will be acted upon, -but all of them will be set as variables on the init script. For example an -example command line, and how it is interpreted. -</p> -<div class="example"> -<pre class="example">BOOT_IMAGE=/boot/vmlinuz root=/dev/sda2 rw loglevel=3 quiet -</pre></div> - -<p>This command line will be parsed to set the following variables: -</p> -<div class="example"> -<pre class="example">BOOT_IMAGE=/boot/vmlinuz -root=/dev/sda2 -rw=1 -loglevel=3 -quiet=1 -</pre></div> - -<p>Some of these variables, such as <code>rw</code>/<code>ro</code>, <code>loglevel</code>, and -<code>quiet</code>, will be used by the init system to change the behaviour of the -startup. -</p> - - -<span id="g_t_002fetc_002finit_002frc_002econf-file"></span><h4 class="subsection">3.1.2 <samp>/etc/init/rc.conf</samp> file</h4> - -<p>However, the kernel command line isn’t the only place to set your boot -parameters. You can specify variables here as well, although note that the -kernel command line always gets the priority for these variables since they can -be set just before boot. -</p> - +</li></ul> + +<table class="menu" border="0" cellspacing="0"> +<tr><td align="left" valign="top">• <a href="Kernel-Command-Line.html" accesskey="1">Kernel Command Line</a></td><td> </td><td align="left" valign="top">Configure init through the boot parameters +</td></tr> +<tr><td align="left" valign="top">• <a href="_002fetc_002finit_002frcconf-file.html" accesskey="2">‘<samp>/etc/init/rc.conf</samp>’ file</a></td><td> </td><td align="left" valign="top">Configure init through the configuration file +</td></tr> +<tr><td align="left" valign="top">• <a href="Init-Hooks.html" accesskey="3">Init Hooks</a></td><td> </td><td align="left" valign="top">Configure init through hooks +</td></tr> +</table> |