diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-09-08 00:19:39 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-09-08 00:19:39 +0000 |
commit | 897a8391c2fc845cc4173f4b8265acae49bba422 (patch) | |
tree | fccb777a6fdcade18a559463c64b4110af1f7324 /chapter06/sysvinit-inst.xml | |
parent | e6313784d67581bcc43d92d3878936571cdc9098 (diff) |
seperated init.c's modification commands
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1208 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/sysvinit-inst.xml')
-rw-r--r-- | chapter06/sysvinit-inst.xml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/chapter06/sysvinit-inst.xml b/chapter06/sysvinit-inst.xml index 078ad2357..fde648bf3 100644 --- a/chapter06/sysvinit-inst.xml +++ b/chapter06/sysvinit-inst.xml @@ -6,17 +6,19 @@ 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 KILL signal. This implies that init sends this signal to all the currently -running processes, which isn't the case. To avoid this confusion, we +running processes, which isn't the case. To avoid this confusion, you change the init.c file so that the sentence reads "sending all -processes started by init the TERM signal".</para> - -<para>Install Sysvinit by running the following commands:</para> +processes started by init the TERM signal" by running the following +commands. If you don't want to change it, skip it.</para> <para><screen><userinput>cp src/init.c src/init.c.backup &&</userinput> <userinput>sed 's/\(.*\)\(Sending processes\)\(.*\)/\1\2 started by init\3/' \</userinput> <userinput> src/init.c > tmp~ &&</userinput> -<userinput>mv tmp~ src/init.c &&</userinput> -<userinput>make -C src &&</userinput> +<userinput>mv tmp~ src/init.c</userinput></screen></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> </sect2> |