diff options
author | Mark Hymers <markh@linuxfromscratch.org> | 2001-07-22 19:45:10 +0000 |
---|---|---|
committer | Mark Hymers <markh@linuxfromscratch.org> | 2001-07-22 19:45:10 +0000 |
commit | b822811980a5f82726cb641cbeff66be9eb6d92a (patch) | |
tree | 27c4db3c62aaea065b053e43c39b2ba44c04a05f /chapter06/sysvinit-inst.xml | |
parent | 46f5461af92bc70c62bbb92895032b930954d835 (diff) |
XML changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@827 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/sysvinit-inst.xml')
-rw-r--r-- | chapter06/sysvinit-inst.xml | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/chapter06/sysvinit-inst.xml b/chapter06/sysvinit-inst.xml index 846c28944..d0a58fbb3 100644 --- a/chapter06/sysvinit-inst.xml +++ b/chapter06/sysvinit-inst.xml @@ -1,8 +1,7 @@ <sect2> <title>Installation of Sysvinit</title> -<para> -When run levels are changed (for example when going to shutdown +<para>When run levels are changed (for example when going to shutdown the system) the init program is going to send the TERM and KILL signals to all the processes that init started. But init prints a message to the screen saying "sending all processes the TERM signal" and the same for the @@ -10,29 +9,16 @@ KILL signal. This implies that init sends this signal to all the currently running processes, which isn't the case. To avoid this confusion a user can apply the sysvinit patch found on the LFS FTP site to sysvinit that changes the sentence in the shutdown.c file and have it print "sending all -processes started by init the TERM signal". -</para> +processes started by init the TERM signal".</para> -<para> -Apply the patch by running the following command: -</para> +<para>Apply the patch by running the following command:</para> -<para> -<screen> -<userinput>patch -Np1 -i ../sysvinit-2.78.patch</userinput> -</screen> -</para> +<para><screen><userinput>patch -Np1 -i ../sysvinit-2.79.patch</userinput></screen></para> -<para> -Install Sysvinit by running the following commands: -</para> +<para>Install Sysvinit by running the following commands:</para> -<para> -<screen> -<userinput>make -C src &&</userinput> -<userinput>make -C src install</userinput> -</screen> -</para> +<para><screen><userinput>make -C src &&</userinput> +<userinput>make -C src install</userinput></screen></para> </sect2> |