Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2024 18:38:23 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 9dc67a70650b - main - rc.8: Remove false information about rc.d/local
Message-ID:  <202409201838.48KIcNgd022752@gitrepo.freebsd.org>

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

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

commit 9dc67a70650b99872316d7ff95ef45ea4c5b455a
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2024-09-20 09:07:05 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2024-09-20 18:28:59 +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
---
 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 fda04bceaf4c..b7bd7b2de1f0 100644
--- a/share/man/man8/rc.8
+++ b/share/man/man8/rc.8
@@ -28,7 +28,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd January 31, 2024
+.Dd September 20, 2024
 .Dt RC 8
 .Os
 .Sh NAME
@@ -451,18 +451,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?202409201838.48KIcNgd022752>