Date: Mon, 4 Jul 2022 10:57:55 GMT From: Mateusz Piotrowski <0mp@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Subject: git: 4f0992c174 - main - rc-scripting: Update the path where scripts live in src tree Message-ID: <202207041057.264AvtLh079423@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/doc/commit/?id=4f0992c1748d3946459fc33c547ba1753713f54d commit 4f0992c1748d3946459fc33c547ba1753713f54d Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-07-04 10:57:24 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-07-04 10:57:47 +0000 rc-scripting: Update the path where scripts live in src tree --- documentation/content/en/articles/rc-scripting/_index.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/content/en/articles/rc-scripting/_index.adoc b/documentation/content/en/articles/rc-scripting/_index.adoc index bc939aec04..ae68c31c28 100644 --- a/documentation/content/en/articles/rc-scripting/_index.adoc +++ b/documentation/content/en/articles/rc-scripting/_index.adoc @@ -586,7 +586,7 @@ However, man:rc.subr[8] can be instructed from the command line to ignore those After a script has been written, it needs to be integrated into [.filename]#rc.d#. The crucial step is to install the script in [.filename]#/etc/rc.d# (for the base system) or [.filename]#/usr/local/etc/rc.d# (for ports). Both [.filename]#bsd.prog.mk# and [.filename]#bsd.port.mk# provide convenient hooks for that, and usually you do not have to worry about the proper ownership and mode. -System scripts should be installed from [.filename]#src/etc/rc.d# through the [.filename]#Makefile# found there. +System scripts should be installed from [.filename]#src/libexec/rc/rc.d# through the [.filename]#Makefile# found there. Port scripts can be installed using `USE_RC_SUBR` as described extref:{porters-handbook}[in the Porter's Handbook, rc-scripts]. However, we should consider beforehand the place of our script in the system startup sequence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207041057.264AvtLh079423>
