diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/docs/Changing-Init-Program.html | 8 | ||||
-rw-r--r-- | src/docs/Configuring-Init.html | 32 | ||||
-rw-r--r-- | src/docs/Contribution-Guidelines.html | 2 | ||||
-rw-r--r-- | src/docs/Init-Hooks.html | 75 | ||||
-rw-r--r-- | src/docs/Init-System.html | 6 | ||||
-rw-r--r-- | src/docs/Package-Manager.html | 10 | ||||
-rw-r--r-- | src/docs/index.html | 14 | ||||
-rw-r--r-- | src/news.xml | 2 | ||||
-rw-r--r-- | src/rss.xml | 2 |
9 files changed, 107 insertions, 44 deletions
diff --git a/src/docs/Changing-Init-Program.html b/src/docs/Changing-Init-Program.html index 35e648f..5c32da6 100644 --- a/src/docs/Changing-Init-Program.html +++ b/src/docs/Changing-Init-Program.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="Configuring-Init.html" rel="prev" title="Configuring Init"> +<link href="Init-Hooks.html" rel="prev" title="Init Hooks"> <style type="text/css"> <!-- a.summary-letter {text-decoration: none} @@ -41,10 +41,10 @@ ul.no-bullet {list-style: none} <body lang="en"> <span id="Changing-Init-Program"></span><div class="header"> <p> -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> </p> +Previous: <a href="Init-Hooks.html" accesskey="p" rel="prev">Init Hooks</a>, Up: <a href="Init-System.html" accesskey="u" rel="up">Init System</a> </p> </div> <hr> -<span id="Changing-Init-Program-1"></span><h3 class="section">4.2 Changing Init Program</h3> +<span id="Changing-Init-Program-1"></span><h3 class="section">4.3 Changing Init Program</h3> <p>By default, Carbs Linux comes preinstalled with <code>busybox-init</code>, but this can easily be replaced without any issues. Currently, available init systems are: @@ -65,7 +65,7 @@ $ cpt a runit /usr/bin/poweroff $ cpt a runit /usr/bin/reboot </pre></div> -<span id="Rebooting-after-changing-Init"></span><h4 class="subsection">4.2.1 Rebooting after changing Init</h4> +<span id="Rebooting-after-changing-Init"></span><h4 class="subsection">4.3.1 Rebooting after changing Init</h4> <p>After switching init systems, your running init system may not accept the new poweroff commands. You will need to reboot/poweroff using the running init’s 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> diff --git a/src/docs/Contribution-Guidelines.html b/src/docs/Contribution-Guidelines.html index f11356d..e3d6154 100644 --- a/src/docs/Contribution-Guidelines.html +++ b/src/docs/Contribution-Guidelines.html @@ -52,7 +52,7 @@ throughout the repositories, one must adhere to these conventions. Exceptions and changes may occur with good reasoning. </p> <table class="menu" border="0" cellspacing="0"> -<tr><td align="left" valign="top">• <a href="Conventions.html" accesskey="1">Conventions</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top">• <a href="Conventions.html" accesskey="1">Conventions</a></td><td> </td><td align="left" valign="top">Distribution conventions </td></tr> <tr><td align="left" valign="top">• <a href="Sending-Git-mails.html" accesskey="2">Sending Git mails</a></td><td> </td><td align="left" valign="top"> </td></tr> diff --git a/src/docs/Init-Hooks.html b/src/docs/Init-Hooks.html new file mode 100644 index 0000000..77392d1 --- /dev/null +++ b/src/docs/Init-Hooks.html @@ -0,0 +1,75 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Copyright (C) 2020 Cem Keylan + +Licensed under Gnu Free 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"> +<title>Init Hooks (Carbs Linux User Manual)</title> + +<meta name="description" content="Init Hooks (Carbs Linux User Manual)"> +<meta name="keywords" content="Init Hooks (Carbs Linux User Manual)"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<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="Configuring-Init.html" rel="prev" title="Configuring Init"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.indentedblock {margin-right: 0em} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +kbd {font-style: oblique} +pre.display {font-family: inherit} +pre.format {font-family: inherit} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +span.nolinebreak {white-space: nowrap} +span.roman {font-family: initial; font-weight: normal} +span.sansserif {font-family: sans-serif; font-weight: normal} +ul.no-bullet {list-style: none} +--> +</style> + + +</head> + +<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> </p> +</div> +<hr> +<span id="Init-Hooks-1"></span><h3 class="section">4.2 Init Hooks</h3> + +<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> + + + + +</body> +</html> diff --git a/src/docs/Init-System.html b/src/docs/Init-System.html index 285dfab..feb4b72 100644 --- a/src/docs/Init-System.html +++ b/src/docs/Init-System.html @@ -53,9 +53,11 @@ shalt. This provides a portable method that doesn’t rely on non-POSIX exte programs. </p> <table class="menu" border="0" cellspacing="0"> -<tr><td align="left" valign="top">• <a href="Configuring-Init.html" accesskey="1">Configuring Init</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top">• <a href="Configuring-Init.html" accesskey="1">Configuring Init</a></td><td> </td><td align="left" valign="top">Ways to configure the init system </td></tr> -<tr><td align="left" valign="top">• <a href="Changing-Init-Program.html" accesskey="2">Changing Init Program</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top">• <a href="Init-Hooks.html" accesskey="2">Init Hooks</a></td><td> </td><td align="left" valign="top">Adding your personal commands to the init system +</td></tr> +<tr><td align="left" valign="top">• <a href="Changing-Init-Program.html" accesskey="3">Changing Init Program</a></td><td> </td><td align="left" valign="top">Replacing the default busybox init with something new </td></tr> </table> diff --git a/src/docs/Package-Manager.html b/src/docs/Package-Manager.html index b5d178e..8016a9a 100644 --- a/src/docs/Package-Manager.html +++ b/src/docs/Package-Manager.html @@ -54,15 +54,15 @@ a single file package manager, it revolves around the shell library <code>cpt-li and many tools that wrap around it. </p> <table class="menu" border="0" cellspacing="0"> -<tr><td align="left" valign="top">• <a href="Usage.html" accesskey="1">Usage</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top">• <a href="Usage.html" accesskey="1">Usage</a></td><td> </td><td align="left" valign="top">Using Carbs Packaging Tools </td></tr> -<tr><td align="left" valign="top">• <a href="Environment-Variables.html" accesskey="2">Environment Variables</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top">• <a href="Environment-Variables.html" accesskey="2">Environment Variables</a></td><td> </td><td align="left" valign="top">Values that affect the operation of CPT </td></tr> -<tr><td align="left" valign="top">• <a href="Hooks.html" accesskey="3">Hooks</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top">• <a href="Hooks.html" accesskey="3">Hooks</a></td><td> </td><td align="left" valign="top">Using hooks to customize the package manager operations </td></tr> -<tr><td align="left" valign="top">• <a href="Packaging-System.html" accesskey="4">Packaging System</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top">• <a href="Packaging-System.html" accesskey="4">Packaging System</a></td><td> </td><td align="left" valign="top">More detail on creating packages </td></tr> -<tr><td align="left" valign="top">• <a href="Rsync-Repositories.html" accesskey="5">Rsync Repositories</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top">• <a href="Rsync-Repositories.html" accesskey="5">Rsync Repositories</a></td><td> </td><td align="left" valign="top">Information on using or creating rsync repositories </td></tr> </table> diff --git a/src/docs/index.html b/src/docs/index.html index ca94f6a..d92b5c3 100644 --- a/src/docs/index.html +++ b/src/docs/index.html @@ -95,10 +95,24 @@ Overview of Package manager </pre></th></tr><tr><td align="left" valign="top">• <a href="Usage.html">Usage</a></td><td> </td><td align="left" valign="top">Using Carbs Packaging Tools </td></tr> +<tr><td align="left" valign="top">• <a href="Environment-Variables.html">Environment Variables</a></td><td> </td><td align="left" valign="top">Values that affect the operation of CPT +</td></tr> +<tr><td align="left" valign="top">• <a href="Hooks.html">Hooks</a></td><td> </td><td align="left" valign="top">Using hooks to customize the package manager operations +</td></tr> <tr><td align="left" valign="top">• <a href="Packaging-System.html">Packaging System</a></td><td> </td><td align="left" valign="top">More detail on creating packages </td></tr> <tr><td align="left" valign="top">• <a href="Rsync-Repositories.html">Rsync Repositories</a></td><td> </td><td align="left" valign="top">Information on using or creating rsync repositories </td></tr> +<tr><th colspan="3" align="left" valign="top"><pre class="menu-comment"> + +Overview of Init System + +</pre></th></tr><tr><td align="left" valign="top">• <a href="Configuring-Init.html">Configuring Init</a></td><td> </td><td align="left" valign="top">Ways to configure the init system +</td></tr> +<tr><td align="left" valign="top">• <a href="Init-Hooks.html">Init Hooks</a></td><td> </td><td align="left" valign="top">Adding your personal commands to the init system +</td></tr> +<tr><td align="left" valign="top">• <a href="Changing-Init-Program.html">Changing Init Program</a></td><td> </td><td align="left" valign="top">Replacing the default busybox init with something new +</td></tr> </table> <hr> diff --git a/src/news.xml b/src/news.xml index 0e054d5..c3e3c52 100644 --- a/src/news.xml +++ b/src/news.xml @@ -9,7 +9,7 @@ <description>a simple linux distribution</description> <link>https://carbslinux.org</link> <atom:link href="https://carbslinux.org/news.xml" rel="self" type="application/rss+xml" /> - <lastBuildDate>Tue Sep 15 2020 08:00</lastBuildDate> + <lastBuildDate>Tue Sep 15 2020 18:00</lastBuildDate> <item> <title>Sep 03 2020</title> <pubDate>Thu, 03 Sep 2020</pubDate> diff --git a/src/rss.xml b/src/rss.xml index 799486a..2c21b0c 100644 --- a/src/rss.xml +++ b/src/rss.xml @@ -9,7 +9,7 @@ <description>a simple linux distribution</description> <link>https://carbslinux.org</link> <atom:link href="https://carbslinux.org/rss.xml" rel="self" type="application/rss+xml" /> - <lastBuildDate>Tue Sep 15 2020 08:00</lastBuildDate> + <lastBuildDate>Tue Sep 15 2020 18:00</lastBuildDate> <item> <title>August 2020 News Post</title> <pubDate>Mon, 03 Aug 2020</pubDate> |