Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2024 09:29:56 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: d51260ef9447 - stable/13 - rc.8: Remove false information about rc.d/local
Message-ID:  <202410020929.4929TuPC090472@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by 0mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=d51260ef94479a5e967d2b9eca74abc29c57d65c

commit d51260ef94479a5e967d2b9eca74abc29c57d65c
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2024-09-20 09:07:05 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2024-10-02 09:25:33 +0000

    rc.8: Remove false information about rc.d/local
    
    It does not handle scripts in /usr/local/etc/rc.d/. Instead, it takes
    care of /etc/rc.local and /etc/rc.shutdown.local.
    
    MFC after:      2 weeks
    
    (cherry picked from commit 9dc67a70650b99872316d7ff95ef45ea4c5b455a)
---
 share/man/man8/rc.8 | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/share/man/man8/rc.8 b/share/man/man8/rc.8
index 2097c85fdc4d..104dbbcdfbc9 100644
--- a/share/man/man8/rc.8
+++ b/share/man/man8/rc.8
@@ -30,7 +30,7 @@
 .\"
 .\"     @(#)rc.8	8.2 (Berkeley) 12/11/93
 .\"
-.Dd June 1, 2023
+.Dd September 20, 2024
 .Dt RC 8
 .Os
 .Sh NAME
@@ -447,18 +447,6 @@ is not set, when going from single-user to multi-user mode for example,
 the script does not do anything.
 .Pp
 The
-.Pa /etc/rc.d/local
-script can execute scripts from multiple
-.Nm rc.d/
-directories.
-The default location includes
-.Pa /usr/local/etc/rc.d/ ,
-but these may be overridden with the
-.Va local_startup
-.Xr rc.conf 5
-variable.
-.Pp
-The
 .Pa /etc/rc.d/serial
 script is used to set any special configurations for serial devices.
 .Pp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410020929.4929TuPC090472>