svn commit: r363726 - stable/12/share/man/man8
Mateusz Piotrowski
0mp at FreeBSD.org
Fri Jul 31 10:40:48 UTC 2020
Author: 0mp (doc,ports committer)
Date: Fri Jul 31 10:40:47 2020
New Revision: 363726
URL: https://svnweb.freebsd.org/changeset/base/363726
Log:
MFC 363473:
Document that force_depend() supports only /etc/rc.d scripts
Currently, force_depend() from rc.subr(8) does not support depending on
scripts outside of /etc/rc.d (like /usr/local/etc/rc.d). The /etc/rc.d path
is hard-coded into force_depend().
Modified:
stable/12/share/man/man8/rc.subr.8
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/share/man/man8/rc.subr.8
==============================================================================
--- stable/12/share/man/man8/rc.subr.8 Fri Jul 31 10:03:32 2020 (r363725)
+++ stable/12/share/man/man8/rc.subr.8 Fri Jul 31 10:40:47 2020 (r363726)
@@ -29,7 +29,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 15, 2019
+.Dd July 24, 2020
.Dt RC.SUBR 8
.Os
.Sh NAME
@@ -237,8 +237,13 @@ The
.Ar name
argument is the
.Xr basename 1
-component of the path to the script, usually
-.Pa /etc/rc.d/name .
+component of the path to the script located at
+.Pa /etc/rc.d
+(scripts stored in other locations like
+.Pa /usr/local/etc/rc.d
+cannot be contolled with
+.Ic force_depend
+currently).
If the script fails for any reason it will output a warning
and return with a return value of 1.
If it was successful
More information about the svn-src-stable
mailing list