From cd28988c0b0ad9ecc1d891935a3387187efef4ce Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Fri, 20 Sep 2024 10:07:05 +0100 Subject: [PATCH] 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 | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/share/man/man8/rc.8 b/share/man/man8/rc.8 index 2097c85fdc4..fa736ce5039 100644 --- a/share/man/man8/rc.8 +++ b/share/man/man8/rc.8 @@ -31,6 +31,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 +448,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