]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC:
authormtm <mtm@FreeBSD.org>
Thu, 25 Oct 2007 14:04:19 +0000 (14:04 +0000)
committermtm <mtm@FreeBSD.org>
Thu, 25 Oct 2007 14:04:19 +0000 (14:04 +0000)
commitb9771535ffb87b37172285ac83f5f70869310a89
treed3a305639c093872795729b0a34410c2ca599f83
parent59e4792b28b4ca9cf033036fd6825af2cf6dc8c0
MFC:
  o Implement the stop_boot subroutine [1]. This subroutine can be used by
    scripts in rc.d to stop rc(8) from booting into multi-user mode when
    a critical or severe error condition is encountered.

  o Modify scripts in etc/rc.d that already implemented this functionality
    independently.

  o Document it.

  [1] - This subroutine was implemented in FreeBSD in rc.d/fsck. I moved it
        to rc.subr(8). Our version differs slightly in that it takes an
        optional argument to stop the boot even if "autoboot" is not set.

  Obtained from: NetBSD
etc/rc.d/fsck
etc/rc.d/ipsec
etc/rc.d/mountcritlocal
etc/rc.d/mountlate
etc/rc.d/root
etc/rc.subr
share/man/man8/rc.8
share/man/man8/rc.subr.8