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 _______________________________________________ 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"