From owner-cvs-src@FreeBSD.ORG Thu May 17 08:57:14 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E8B0F16A404; Thu, 17 May 2007 08:57:14 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C26A313C44B; Thu, 17 May 2007 08:57:14 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4H8vEMI015709; Thu, 17 May 2007 08:57:14 GMT (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4H8vENZ015708; Thu, 17 May 2007 08:57:14 GMT (envelope-from mtm) Message-Id: <200705170857.l4H8vENZ015708@repoman.freebsd.org> From: Mike Makonnen Date: Thu, 17 May 2007 08:57:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/etc/rc.d nfslocking X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2007 08:57:15 -0000 mtm 2007-05-17 08:57:14 UTC FreeBSD src repository Modified files: etc/rc.d nfslocking Log: 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 Revision Changes Path 1.14 +10 -8 src/etc/rc.d/nfslocking