cvs commit: src/etc rc.subr

Mike Makonnen mtm at FreeBSD.org
Fri Feb 27 01:58:50 PST 2004


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


More information about the cvs-src mailing list