Author: 0mp (doc,ports committer)
Date: Fri Jul 24 14:17:37 2020
New Revision: 363473
URL: https://svnweb.freebsd.org/changeset/base/363473

Log:
  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().
  
  MFC after:    1 week

Modified:
  head/share/man/man8/rc.subr.8

Modified: head/share/man/man8/rc.subr.8
==============================================================================
--- head/share/man/man8/rc.subr.8       Fri Jul 24 13:23:32 2020        
(r363472)
+++ head/share/man/man8/rc.subr.8       Fri Jul 24 14:17:37 2020        
(r363473)
@@ -29,7 +29,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd September 5, 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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to