aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2022-07-04 10:57:24 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2022-07-04 10:57:47 +0000
commit4f0992c1748d3946459fc33c547ba1753713f54d (patch)
tree32a31ee390cd9d119dc5f9f25851044153a8e1e2
parentf36d2a25847c5346ed59e27ea65417c80cf36cb7 (diff)
-rw-r--r--documentation/content/en/articles/rc-scripting/_index.adoc2
1 files changed, 1 insertions, 1 deletions
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.