cvs commit: src/etc rc.subr

Colin Percival cperciva at FreeBSD.org
Sun Jul 4 00:21:19 PDT 2004


cperciva    2004-07-04 07:21:18 UTC

  FreeBSD src repository

  Modified files:
    etc                  rc.subr 
  Log:
  Wrap rc.subr inside
  
  if [ -z "${_rc_subr_loaded}" ]; then
  _rc_subr_loaded="YES"
  ...
  fi
  
  in order to avoid re-interpreting rc.subr every time an rc.d
  script is run.  In my tests, this speeds up rc time by about
  8-10%.
  
  Revision  Changes    Path
  1.30      +6 -0      src/etc/rc.subr


More information about the cvs-src mailing list