From 4dfeca08c11dd9bf031ff8c2f12e76add27ab0f0 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 15 Sep 2020 21:20:41 +0300 Subject: update --- docs/docs/Changing-Init-Program.html | 8 ++-- docs/docs/Configuring-Init.html | 32 +-------------- docs/docs/Contribution-Guidelines.html | 2 +- docs/docs/Init-Hooks.html | 75 ++++++++++++++++++++++++++++++++++ docs/docs/Init-System.html | 6 ++- docs/docs/Package-Manager.html | 10 ++--- docs/docs/index.html | 14 +++++++ docs/news.xml | 2 +- docs/rss.xml | 2 +- src/docs/Changing-Init-Program.html | 8 ++-- src/docs/Configuring-Init.html | 32 +-------------- src/docs/Contribution-Guidelines.html | 2 +- src/docs/Init-Hooks.html | 75 ++++++++++++++++++++++++++++++++++ src/docs/Init-System.html | 6 ++- src/docs/Package-Manager.html | 10 ++--- src/docs/index.html | 14 +++++++ src/news.xml | 2 +- src/rss.xml | 2 +- texidocs | 2 +- 19 files changed, 215 insertions(+), 89 deletions(-) create mode 100644 docs/docs/Init-Hooks.html create mode 100644 src/docs/Init-Hooks.html diff --git a/docs/docs/Changing-Init-Program.html b/docs/docs/Changing-Init-Program.html index 35e648f..5c32da6 100644 --- a/docs/docs/Changing-Init-Program.html +++ b/docs/docs/Changing-Init-Program.html @@ -15,7 +15,7 @@ Licensed under Gnu Free Documentation License. --> - + + + + + + +
+

+Next: , Previous: , Up: Init System  

+
+
+

4.2 Init Hooks

+ +

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 /etc/init directory with the +hook name as the suffix. For example, a boot script will be placed as +/etc/init/my-hook.boot. Currently, there are 4 hooks that the user can use. +

+
+
early-boot
+

Run after pseudo-filesystems are mounted. +

+
boot
+

Run before the boot stage is completed. +

+
pre.shutdown
+

Run first when shutting down. +

+
post.shutdown
+

Run just before the system is halted. +

+
+ + + + + + diff --git a/docs/docs/Init-System.html b/docs/docs/Init-System.html index 285dfab..feb4b72 100644 --- a/docs/docs/Init-System.html +++ b/docs/docs/Init-System.html @@ -53,9 +53,11 @@ shalt. This provides a portable method that doesn’t rely on non-POSIX exte programs.

- - + diff --git a/docs/docs/Package-Manager.html b/docs/docs/Package-Manager.html index b5d178e..8016a9a 100644 --- a/docs/docs/Package-Manager.html +++ b/docs/docs/Package-Manager.html @@ -54,15 +54,15 @@ a single file package manager, it revolves around the shell library cpt-li and many tools that wrap around it.

- - - - - diff --git a/docs/docs/index.html b/docs/docs/index.html index ca94f6a..d92b5c3 100644 --- a/docs/docs/index.html +++ b/docs/docs/index.html @@ -95,10 +95,24 @@ Overview of Package manager • Usage  Using Carbs Packaging Tools +• Environment Variables  Values that affect the operation of CPT + +• Hooks  Using hooks to customize the package manager operations + • Packaging System  More detail on creating packages • Rsync Repositories  Information on using or creating rsync repositories +Configuring Init  Ways to configure the init system + +• Init Hooks  Adding your personal commands to the init system + +• Changing Init Program  Replacing the default busybox init with something new +
diff --git a/docs/news.xml b/docs/news.xml index 0e054d5..c3e3c52 100644 --- a/docs/news.xml +++ b/docs/news.xml @@ -9,7 +9,7 @@ a simple linux distribution https://carbslinux.org - Tue Sep 15 2020 08:00 + Tue Sep 15 2020 18:00 Sep 03 2020 Thu, 03 Sep 2020 diff --git a/docs/rss.xml b/docs/rss.xml index 799486a..2c21b0c 100644 --- a/docs/rss.xml +++ b/docs/rss.xml @@ -9,7 +9,7 @@ a simple linux distribution https://carbslinux.org - Tue Sep 15 2020 08:00 + Tue Sep 15 2020 18:00 August 2020 News Post Mon, 03 Aug 2020 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. --> - + + + + + + +
+

+Next: , Previous: , Up: Init System  

+
+
+

4.2 Init Hooks

+ +

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 /etc/init directory with the +hook name as the suffix. For example, a boot script will be placed as +/etc/init/my-hook.boot. Currently, there are 4 hooks that the user can use. +

+
+
early-boot
+

Run after pseudo-filesystems are mounted. +

+
boot
+

Run before the boot stage is completed. +

+
pre.shutdown
+

Run first when shutting down. +

+
post.shutdown
+

Run just before the system is halted. +

+
+ + + + + + 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.

- - + 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 cpt-li and many tools that wrap around it.

- - - - - 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 • Usage  Using Carbs Packaging Tools +• Environment Variables  Values that affect the operation of CPT + +• Hooks  Using hooks to customize the package manager operations + • Packaging System  More detail on creating packages • Rsync Repositories  Information on using or creating rsync repositories +Configuring Init  Ways to configure the init system + +• Init Hooks  Adding your personal commands to the init system + +• Changing Init Program  Replacing the default busybox init with something new +
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 @@ a simple linux distribution https://carbslinux.org - Tue Sep 15 2020 08:00 + Tue Sep 15 2020 18:00 Sep 03 2020 Thu, 03 Sep 2020 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 @@ a simple linux distribution https://carbslinux.org - Tue Sep 15 2020 08:00 + Tue Sep 15 2020 18:00 August 2020 News Post Mon, 03 Aug 2020 diff --git a/texidocs b/texidocs index 0013145..8154e24 160000 --- a/texidocs +++ b/texidocs @@ -1 +1 @@ -Subproject commit 0013145861319f921ae2fce593722b29a41e325c +Subproject commit 8154e24f803e5812b18993227f85abc3b1c314ad -- cgit v1.2.3