From 40eb4e45d48337dfcd748540fe25c5eb684e911d Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 9 Sep 2020 17:51:04 +0300 Subject: Install docs --- docs/docs/Changing-Init-Program.html | 92 ++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 docs/docs/Changing-Init-Program.html (limited to 'docs/docs/Changing-Init-Program.html') diff --git a/docs/docs/Changing-Init-Program.html b/docs/docs/Changing-Init-Program.html new file mode 100644 index 0000000..60bf1b3 --- /dev/null +++ b/docs/docs/Changing-Init-Program.html @@ -0,0 +1,92 @@ + + + + + + +Changing Init Program (Carbs Linux User Manual) + + + + + + + + + + + + + + + +
+

+Previous: , Up: Init System  

+
+
+

3.2 Changing Init Program

+ +

By default, Carbs Linux comes preinstalled with busybox-init, but this +can easily be replaced without any issues. Currently, available init systems are: +

+ + +

This example is for runit, but it will work with all init systems packaged in the +distribution repositories. See cpt-alternatives +

+
+
$ cpt a runit /usr/bin/init
+$ cpt a runit /usr/bin/poweroff
+$ cpt a runit /usr/bin/reboot
+
+ +

3.2.1 Rebooting after changing Init

+ +

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 +utilities for the new utilities to work. These commands are for the init system +currently running on your system and not the one you are switching to. +

+
+
busybox
+

$ busybox reboot +

+
runit
+

$ runit-init 6 +

+
shinit/sinit
+

$ kill -s INT 1 +

+
+ + + + + + + -- cgit v1.2.3