From 4dfeca08c11dd9bf031ff8c2f12e76add27ab0f0 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 15 Sep 2020 21:20:41 +0300 Subject: update --- 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 +- 9 files changed, 107 insertions(+), 44 deletions(-) create mode 100644 src/docs/Init-Hooks.html (limited to 'src') 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 -- cgit v1.2.3