aboutsummaryrefslogtreecommitdiff
path: root/src/docs/Init-Hooks.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/docs/Init-Hooks.html')
-rw-r--r--src/docs/Init-Hooks.html28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/docs/Init-Hooks.html b/src/docs/Init-Hooks.html
index a5a767d..52e2e84 100644
--- a/src/docs/Init-Hooks.html
+++ b/src/docs/Init-Hooks.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">
@@ -20,9 +21,9 @@ Documentation License." -->
<meta name="Generator" content="makeinfo">
<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="Configuring-Init.html" rel="up" title="Configuring Init">
<link href="Changing-Init-Program.html" rel="next" title="Changing Init Program">
-<link href="Configuring-Init.html" rel="prev" title="Configuring Init">
+<link href="_002fetc_002finit_002frcconf-file.html" rel="prev" title="/etc/init/rcconf file">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
@@ -48,28 +49,31 @@ ul.no-bullet {list-style: none}
<body lang="en">
<span id="Init-Hooks"></span><div class="header">
<p>
-Next: <a href="Changing-Init-Program.html" accesskey="n" rel="next">Changing Init Program</a>, Previous: <a href="Configuring-Init.html" accesskey="p" rel="prev">Configuring Init</a>, Up: <a href="Init-System.html" accesskey="u" rel="up">Init System</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
+Previous: <a href="_002fetc_002finit_002frcconf-file.html" accesskey="p" rel="prev">&lsquo;<samp>/etc/init/rcconf</samp>&rsquo; file</a>, Up: <a href="Configuring-Init.html" accesskey="u" rel="up">Configuring Init</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
</div>
<hr>
-<span id="Init-Hooks-1"></span><h3 class="section">3.2 Init Hooks</h3>
+<span id="Init-Hooks-1"></span><h4 class="subsection">2.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
+and lot more. Those hooks are added to the &lsquo;<samp>/etc/init</samp>&rsquo; 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.
+&lsquo;<samp>/etc/init/my-hook.boot</samp>&rsquo;. Currently, there are 4 hooks that the user can use.
</p>
<dl compact="compact">
-<dt><samp>early-boot</samp></dt>
+<dt>early-boot</dt>
<dd><p>Run after pseudo-filesystems are mounted.
</p></dd>
-<dt><samp>boot</samp></dt>
+<dt>boot</dt>
<dd><p>Run before the boot stage is completed.
</p></dd>
-<dt><samp>pre.shutdown</samp></dt>
+<dt>pre.shutdown</dt>
<dd><p>Run first when shutting down.
</p></dd>
-<dt><samp>post.shutdown</samp></dt>
+<dt>umount</dt>
+<dd><p>Run just before filesystems are unmounted.
+</p></dd>
+<dt>post.shutdown</dt>
<dd><p>Run just before the system is halted.
</p></dd>
</dl>
@@ -77,7 +81,5 @@ hook name as the suffix. For example, a boot script will be placed as
-
-
</body>
</html>