cvs commit: src/etc rc.subr src/etc/rc.d fsck ipsec mountcritlocal
mountlate root src/share/man/man8 rc.8 rc.subr.8
Mike Makonnen
mtm at FreeBSD.org
Fri May 18 12:04:42 UTC 2007
mtm 2007-05-18 12:04:41 UTC
FreeBSD src repository
Modified files:
etc rc.subr
etc/rc.d fsck ipsec mountcritlocal mountlate root
share/man/man8 rc.8 rc.subr.8
Log:
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
MFC after: 2 weeks
Revision Changes Path
1.11 +0 -11 src/etc/rc.d/fsck
1.19 +1 -9 src/etc/rc.d/ipsec
1.14 +1 -1 src/etc/rc.d/mountcritlocal
1.2 +1 -1 src/etc/rc.d/mountlate
1.15 +1 -1 src/etc/rc.d/root
1.75 +22 -0 src/etc/rc.subr
1.32 +6 -11 src/share/man/man8/rc.8
1.18 +18 -1 src/share/man/man8/rc.subr.8
More information about the cvs-src
mailing list