From owner-freebsd-doc@FreeBSD.ORG Mon Jun 28 18:20:15 2004 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D23116A4D0 for ; Mon, 28 Jun 2004 18:20:15 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC98043D58 for ; Mon, 28 Jun 2004 18:20:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i5SIKD7a063703 for ; Mon, 28 Jun 2004 18:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5SIKDee063702; Mon, 28 Jun 2004 18:20:13 GMT (envelope-from gnats) Resent-Date: Mon, 28 Jun 2004 18:20:13 GMT Resent-Message-Id: <200406281820.i5SIKDee063702@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michel Lavondes Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5595F16A4CE for ; Mon, 28 Jun 2004 18:10:53 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FFF943D49 for ; Mon, 28 Jun 2004 18:10:53 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i5SIArCd043197 for ; Mon, 28 Jun 2004 18:10:53 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i5SIArgJ043196; Mon, 28 Jun 2004 18:10:53 GMT (envelope-from nobody) Message-Id: <200406281810.i5SIArgJ043196@www.freebsd.org> Date: Mon, 28 Jun 2004 18:10:53 GMT From: Michel Lavondes To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: docs/68453: [patch] rc.subr.8 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2004 18:20:15 -0000 >Number: 68453 >Category: docs >Synopsis: [patch] rc.subr.8 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 28 18:20:13 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Michel Lavondes >Release: FreeBSD 4.8-RELEASE-p22 >Organization: Ecdysiasts United For Overdressing >Environment: >Description: ${name}_program in a startup script using rc.subr will silently override $command. This patch assumes the behavior is intended and documents it. This is known to happen using the sysutils/rc_subr port on 4.x, but probably happens on 5.x with rcNG too. >How-To-Repeat: man 8 rc.subr >Fix: --- src/share/man/man8/rc.subr.8.orig Mon Jun 21 09:02:57 2004 +++ src/share/man/man8/rc.subr.8 Mon Jun 21 09:26:36 2004 @@ -436,6 +436,10 @@ Not required if .Ar argument Ns Sy _cmd is defined for each supported keyword. +Note that if +.Sy ${name}_program +is set, it will silently override +.Sy command . .It Sy command_args Optional arguments and/or shell directives for .Sy command . >Release-Note: >Audit-Trail: >Unformatted: