cvs commit: src/etc rc.subr

Yar Tikhiy yar at FreeBSD.org
Wed Nov 16 10:45:20 GMT 2005


yar         2005-11-16 10:45:19 UTC

  FreeBSD src repository

  Modified files:
    etc                  rc.subr 
  Log:
  Avoid invoking the current script again when we need
  to issue sub-commands, e.g., restart = stop + start.
  By calling run_rc_command instead, we provide rc.d
  scripts with full control over their configuration
  variables.
  
  For an example problem the former approach caused, see
  http://lists.freebsd.org/pipermail/freebsd-rc/2005-October/000311.html
  
  Reviewed by:    freebsd-rc
  Tested by:      Dirk Engling erdgeist <at> erdgeist.org
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.43      +3 -2      src/etc/rc.subr


More information about the cvs-src mailing list