Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2018 16:56:32 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r340223 - head/share/man/man8
Message-ID:  <201811071656.wA7GuWxZ097330@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp (ports committer)
Date: Wed Nov  7 16:56:32 2018
New Revision: 340223
URL: https://svnweb.freebsd.org/changeset/base/340223

Log:
  rc.subr(8): Document when required_* variables are processed
  
  At the moment rc.subr(8) supports the following required_* variables:
  required_dirs, required_files, required_modules and required_vars.
  
  This patch documents when every of those required_* variables is actually
  processed (before or after running start_precmd).
  
  Reviewed by:	bcr
  Approved by:	krion (mentor, implicit), mat (mentor, implicit)
  Sponsored by:	Bally Wulff Games & Entertainment GmbH
  Differential Revision:	https://reviews.freebsd.org/D17895

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

Modified: head/share/man/man8/rc.subr.8
==============================================================================
--- head/share/man/man8/rc.subr.8	Wed Nov  7 16:56:07 2018	(r340222)
+++ head/share/man/man8/rc.subr.8	Wed Nov  7 16:56:32 2018	(r340223)
@@ -29,7 +29,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd June 19, 2018
+.Dd November 7, 2018
 .Dt RC.SUBR 8
 .Os
 .Sh NAME
@@ -491,16 +491,22 @@ Check for the existence of the listed directories
 before running the
 .Cm start
 method.
+The list is checked before running
+.Va start_precmd .
 .It Va required_files
 Check for the readability of the listed files
 before running the
 .Cm start
 method.
+The list is checked before running
+.Va start_precmd .
 .It Va required_modules
 Ensure that the listed kernel modules are loaded
 before running the
 .Cm start
 method.
+The list is checked after running
+.Va start_precmd .
 This is done after invoking the commands from
 .Va start_precmd
 so that the missing modules are not loaded in vain
@@ -531,6 +537,8 @@ on each of the list variables
 before running the
 .Cm start
 method.
+The list is checked after running
+.Va start_precmd .
 .It Va ${name}_chdir
 Directory to
 .Ic cd



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811071656.wA7GuWxZ097330>