diff options
author | Cem Keylan <cem@ckyln.com> | 2020-09-15 21:20:41 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-09-15 21:20:41 +0300 |
commit | 4dfeca08c11dd9bf031ff8c2f12e76add27ab0f0 (patch) | |
tree | 50823d84379a161e2d95fa393607f0c99a8c05f0 /src/docs/Configuring-Init.html | |
parent | 94229656829fe1072175284ab6f7cba6e97ff031 (diff) | |
download | website-4dfeca08c11dd9bf031ff8c2f12e76add27ab0f0.tar.gz |
update
Diffstat (limited to 'src/docs/Configuring-Init.html')
-rw-r--r-- | src/docs/Configuring-Init.html | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/src/docs/Configuring-Init.html b/src/docs/Configuring-Init.html index 22a8195..d758212 100644 --- a/src/docs/Configuring-Init.html +++ b/src/docs/Configuring-Init.html @@ -15,7 +15,7 @@ Licensed under Gnu Free Documentation License. --> <meta name="Generator" content="makeinfo"> <link href="index.html" rel="start" title="Top"> <link href="Init-System.html" rel="up" title="Init System"> -<link href="Changing-Init-Program.html" rel="next" title="Changing Init Program"> +<link href="Init-Hooks.html" rel="next" title="Init Hooks"> <link href="Init-System.html" rel="prev" title="Init System"> <style type="text/css"> <!-- @@ -42,7 +42,7 @@ ul.no-bullet {list-style: none} <body lang="en"> <span id="Configuring-Init"></span><div class="header"> <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> </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> </p> </div> <hr> <span id="Configuring-Init-1"></span><h3 class="section">4.1 Configuring Init</h3> @@ -87,34 +87,6 @@ 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> -<span id="Init-Hooks"></span><h4 class="subsection">4.1.3 Init Hooks</h4> - -<p>Init hooks are for custom personal commands that the user may want to add to -alter their boot. These can be used to load kernel modules, modify interfaces, -and lot more. Those hooks are added to the <samp>/etc/init</samp> directory with the -hook name as the suffix. For example, a boot script will be placed as -<samp>/etc/init/my-hook.boot</samp>. Currently, there are 4 hooks that the user can use. -</p> -<dl compact="compact"> -<dt><samp>early-boot</samp></dt> -<dd><p>Run after pseudo-filesystems are mounted. -</p></dd> -<dt><samp>boot</samp></dt> -<dd><p>Run before the boot stage is completed. -</p></dd> -<dt><samp>pre.shutdown</samp></dt> -<dd><p>Run first when shutting down. -</p></dd> -<dt><samp>post.shutdown</samp></dt> -<dd><p>Run just before the system is halted. -</p></dd> -</dl> - -<hr> -<div class="header"> -<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> </p> -</div> |