aboutsummaryrefslogtreecommitdiff
path: root/init.texi
diff options
context:
space:
mode:
Diffstat (limited to 'init.texi')
-rw-r--r--init.texi26
1 files changed, 26 insertions, 0 deletions
diff --git a/init.texi b/init.texi
index 0cefe0d..e9283bc 100644
--- a/init.texi
+++ b/init.texi
@@ -1,3 +1,8 @@
+@c This document is part of Carbs Linux Documentation.
+@c See the top.texi file for LICENSE information.
+
+@c -----------------------------------------------------------------------------
+
@node Init System
@chapter Init System
@@ -12,6 +17,9 @@ programs.
* Changing Init Program:: Replacing the default busybox init with something new
@end menu
+
+@c -----------------------------------------------------------------------------
+
@node Configuring Init
@section Configuring Init
@@ -26,6 +34,9 @@ Kernel Command Line
Init Hooks
@end enumerate
+
+@c -----------------------------------------------------------------------------
+
@subsection Kernel Command Line
On GRUB, you can edit the kernel command line parameters, which will be parsed
@@ -51,6 +62,9 @@ Some of these variables, such as @env{rw}/@env{ro}, @env{loglevel}, and
@env{quiet}, will be used by the init system to change the behaviour of the
startup.
+
+@c -----------------------------------------------------------------------------
+
@subsection @file{/etc/init/rc.conf} file
However, the kernel command line isn't the only place to set your boot
@@ -58,6 +72,9 @@ 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.
+
+@c -----------------------------------------------------------------------------
+
@node Init Hooks
@section Init Hooks
@@ -78,6 +95,9 @@ Run first when shutting down.
Run just before the system is halted.
@end table
+
+@c -----------------------------------------------------------------------------
+
@node Changing Init Program
@section Changing Init Program
@@ -104,6 +124,9 @@ $ cpt a runit /usr/bin/poweroff
$ cpt a runit /usr/bin/reboot
@end example
+
+@c -----------------------------------------------------------------------------
+
@subsection Rebooting after changing Init
After switching init systems, your running init system may not accept the
@@ -119,3 +142,6 @@ currently running on your system and not the one you are switching to.
@item shinit/sinit
@code{$ kill -s INT 1}
@end table
+
+
+@c -----------------------------------------------------------------------------