home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / system / daemons / sysvinit.pat < prev    next >
Encoding:
Text File  |  1994-03-01  |  1.5 KB  |  40 lines

  1. There are some people experiencing problems with the scripts included
  2. in the SysVinit-2.50 package. This is coming from a certain problem
  3. with /bin/sh, that does not have the `kill' command as a builtin. It
  4. is rumoured that some versions of bash (1.13.5?) have this problem if
  5. invoked as `/bin/sh' rather than '/bin/bash'. To work around this, there
  6. are two solutions:
  7.  
  8. 1. Use the included `killall' command instead of `kill'. (See the file
  9.    "Readme" in SysVinit-2.50.tgz for hints!)
  10. 2. OR apply the following patch in your /etc/rc.d directory, this fixes
  11.    the problem for bash:
  12.  
  13. (As usual, cut this part and feed it to patch as "patch < cutted_part")
  14. ========================================================================
  15. --- rc.halt.orig    Tue Feb 22 21:41:47 1994
  16. +++ rc.halt    Tue Feb 22 21:43:13 1994
  17. @@ -6,3 +6,3 @@
  18.  #
  19. -# Version:    @(#)/etc/rc.d/rc.halt    1.50    1994-01-15
  20. +# Version:    @(#)/etc/rc.d/rc.halt    1.51    1994-02-22
  21.  #
  22. @@ -31,2 +31,3 @@
  23.    # Kill all processes.
  24. +  [ "${BASH+bash}" = bash ] && enable kill
  25.    echo "Sending all processes the TERM signal.."
  26. --- rc.single.orig    Tue Feb 22 21:41:56 1994
  27. +++ rc.single    Tue Feb 22 21:42:52 1994
  28. @@ -7,3 +7,3 @@
  29.  #
  30. -# Version:    @(#)/etc/rc.d/rc.single    1.50    1994-01-18
  31. +# Version:    @(#)/etc/rc.d/rc.single    1.51    1994-02-22
  32.  #
  33. @@ -16,2 +16,3 @@
  34.    # Kill all processes.
  35. +  [ "${BASH+bash}" = bash ] && enable kill
  36.    echo "Sending all processes the TERM signal.."
  37. ========================================================================
  38.  
  39. Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
  40.