Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2005 10:45:19 +0000 (UTC)
From:      Yar Tikhiy <yar@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/etc rc.subr
Message-ID:  <200511161045.jAGAjJMQ061812@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511161045.jAGAjJMQ061812>