Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2004 01:58:50 -0800 (PST)
From:      Mike Makonnen <mtm@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/etc rc.subr
Message-ID:  <200402270958.i1R9wo4p095505@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mtm         2004/02/27 01:58:50 PST

  FreeBSD src repository

  Modified files:
    etc                  rc.subr 
  Log:
  NetBSD rev. 1.61
    Implement ``one'' prefix to allow a "one shot" operation as if
    ${rcvar}=yes yet all the other prerequisite tests are still performed.
    The existing ``force'' prefix is a sledgehammer that ignores all the
    prerequisite checks and always returns a zero exit status; this is a
    more gentle approach to the problem of "manipulate this disabled
    service without editing rc.conf(5)".
  
  Obtained From:  NetBSD
  
          # We have a work-around in our version of rc.subr that
          # makes force* return a non-zero exit status if the
          # command/service could not be acted upon. The work-around
          # is no longer necessary and should be removed.
  
  Revision  Changes    Path
  1.24      +16 -6     src/etc/rc.subr



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