sysvinit-inst.xml 1.0 KB

1234567891011121314151617181920212223242526272829
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Sysvinit</title>
  4. <para>When run levels are changed (for example, when halting the system),
  5. init sends the TERM and KILL signals to the processes which it started.
  6. Init prints "Sending processes the TERM signal" to the screen. This seems
  7. to imply that init is sending these signals to all the currently running
  8. processes. To avoid this confusion, the init.c file can be modified, so
  9. that the sentence reads "Sending the TERM signal to processes started by
  10. init".</para>
  11. <para>Edit the halt message:</para>
  12. <para><screen><userinput>cp src/init.c{,.backup}
  13. sed 's/Sending processes/Sending the TERM signal to processes started by init/g' \
  14. &nbsp;&nbsp;&nbsp;&nbsp;src/init.c.backup &gt; src/init.c</userinput></screen></para>
  15. <para>Compile Sysvinit:</para>
  16. <para><screen><userinput>make -C src</userinput></screen></para>
  17. <para>And install it:</para>
  18. <para><screen><userinput>make -C src install</userinput></screen></para>
  19. </sect2>