From ben@scientia.demon.co.uk  Thu Jun 15 15:40:38 2000
Return-Path: <ben@scientia.demon.co.uk>
Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13])
	by hub.freebsd.org (Postfix) with ESMTP id 6982A37BFEA
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Jun 2000 15:40:17 -0700 (PDT)
	(envelope-from ben@scientia.demon.co.uk)
Received: from magnesium.scientia.demon.co.uk ([192.168.91.34] ident=exim)
	by scientia.demon.co.uk with esmtp (Exim 3.12 #2)
	id 132hVr-000PPe-00 for FreeBSD-gnats-submit@freebsd.org;
	Thu, 15 Jun 2000 22:49:23 +0100
Received: (from ben) by magnesium.scientia.demon.co.uk (Exim 3.12 #2)
	id 132hVq-0004Hi-00 for FreeBSD-gnats-submit@freebsd.org;
	Thu, 15 Jun 2000 22:49:22 +0100
Message-Id: <E132hVq-0004Hi-00@magnesium.scientia.demon.co.uk>
Date: Thu, 15 Jun 2000 22:49:22 +0100
From: Ben Smithurst <ben@scientia.demon.co.uk>
Reply-To: ben@scientia.demon.co.uk
To: FreeBSD-gnats-submit@freebsd.org
Subject: rc(8) manpage has out of date description of rc.local
X-Send-Pr-Version: 3.2

>Number:         19314
>Category:       docs
>Synopsis:       rc(8) manpage has out of date description of rc.local
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 15 15:50:01 PDT 2000
>Closed-Date:    Tue Jun 20 03:32:24 PDT 2000
>Last-Modified:  Tue Jun 20 03:32:36 PDT 2000
>Originator:     Ben Smithurst
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:

>Description:

The rc(8) manual page states:

     Rc.local is executed after the scripts above, but before the rest of the
     rc file is completed.  Presently, all rc.local does is to put version in-
     formation in /etc/motd.

The second sentence is not true, rc.local does not even exist in a
default installation.  This needs fixing in RELENG_4 as well as HEAD.

>How-To-Repeat:

>Fix:

cvs diff: Diffing .
Index: rc.8
===================================================================
RCS file: /usr/cvs/src/share/man/man8/rc.8,v
retrieving revision 1.9
diff -u -r1.9 rc.8
--- rc.8	2000/03/03 14:05:02	1.9
+++ rc.8	2000/06/15 21:48:04
@@ -148,10 +148,10 @@
 is executed after the scripts above, but before the rest of the
 .Nm rc
 file is completed.
-Presently, all
+In a default installation
 .Nm rc.local
-does is to put version information in
-.Pa /etc/motd .
+does not exist, but its contents will be executed if the file is created
+by the administrator.
 .Pp
 Following tradition, the startup files reside in
 .Pa /etc .
cvs diff: Diffing man8.alpha
cvs diff: Diffing man8.i386

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: alex 
State-Changed-When: Tue Jun 20 03:32:24 PDT 2000 
State-Changed-Why:  
committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19314 
>Unformatted:
