diff options
Diffstat (limited to 'chapter06/sysvinit-inst.xml')
-rw-r--r-- | chapter06/sysvinit-inst.xml | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/chapter06/sysvinit-inst.xml b/chapter06/sysvinit-inst.xml index ca0f81f1b..f617a5d9c 100644 --- a/chapter06/sysvinit-inst.xml +++ b/chapter06/sysvinit-inst.xml @@ -1,3 +1,5 @@ +<sect2><title> </title><para> </para></sect2> + <sect2> <title>Installation of Sysvinit</title> @@ -6,18 +8,21 @@ init sends the TERM and KILL signals to the processes which it started. init prints "Sending processes the TERM signal" to the screen. This seems to imply that init is sending these signals to all the currently running processes. To avoid this confusion, the init.c file can be modified, so -that the sentence reads "Sending processes started by init the TERM signal", -by running the following commands. If you don't want to change it, -skip it.</para> +that the sentence reads "Sending processes started by init the TERM signal".</para> + +<para>Edit the halt message:</para> <para><screen><userinput>cp src/init.c{,.backup} && sed 's/Sending processes/Sending processes started by init/g' \ src/init.c.backup > src/init.c</userinput></screen></para> -<para>Install Sysvinit by running the following commands:</para> +<para>Compile Sysvinit:</para> + +<para><screen><userinput>make -C src</userinput></screen></para> + +<para>Finish installing the package:</para> -<para><screen><userinput>make -C src && -make -C src install</userinput></screen></para> +<para><screen><userinput>make -C src install</userinput></screen></para> </sect2> |