]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The precmd routine does not need to check whether the command should be
authorMike Makonnen <mtm@FreeBSD.org>
Thu, 17 May 2007 08:57:14 +0000 (08:57 +0000)
committerMike Makonnen <mtm@FreeBSD.org>
Thu, 17 May 2007 08:57:14 +0000 (08:57 +0000)
commitc76ad7642f9598d7db2b7805f593ea7f68c87b29
treed2cb34300aac7c168c6314cb72044839a0d287ae
parentcbfaeb5fe39edde6afb8c2c0825e86c8ff67b933
The precmd routine does not need to check whether the command should be
"forced". If some pre-condition is not met, it should fail as it normally
does and rc.subr(8) will make the appropriate decision. Incidentally, the
previous behaviour had a bug where the "force" flag was respected only
when checking rc.conf(5) knobs. The flag was ignored when verifying the
rpcbind(8) dependency.

MFC after: 2 weeks
etc/rc.d/lockd
etc/rc.d/nfslocking
etc/rc.d/statd