Commit Graph

15 Commits

Author SHA1 Message Date
gendalia ed8de01a24 Flasg -> Flags 2004-04-29 22:44:43 +00:00
wiz 1913c0ff53 Simplify sentence. 2004-04-02 13:23:07 +00:00
jmmv 3c8a1444d9 Introduce and use the rcvar_manpage variable, which contains the manual page
name where the user should look at for documentation about rcvar.  It defaults
to 'rc.subr(5)', as rc.subr is mainly used by rc.d scripts.

This variable is useful to let the daily, weekly, monthly and security scripts
tune the warning message shown when any of the variables they handle is not
properly set.

Closes PR misc/23908.
2004-04-02 13:13:47 +00:00
lukem f3bab2a8fc Implement ``one'' prefix to allow a "one shot" operation as if
${rcvar}=yes yet all the other prerequisite tests are still performed.
The existing ``force'' prefix is a sledgehammer that ignores all the
prerequisite checks and always returns a zero exit status; this is a
more gentle approach to the problem of "manipulate this disabled
service without editing rc.conf(5)".
2004-01-06 00:52:24 +00:00
jmmv 4296d7d483 Drop trailing whitespace. Reviewed by wiz. 2003-05-06 10:46:41 +00:00
wiz 45ad5c9584 successful with only one l. 2003-01-06 12:46:05 +00:00
atatat 28d021bcf5 Add systrace(1) support to rc.subr. Most services (eg, ${name} is
inetd) started from rc can now be run under systrace by setting
${name}_systrace to a set of flags to be passed to systrace.  Note
that policies need to generated before you do this.
2002-07-08 16:14:55 +00:00
lukem 0e798bbe1e minor improvements, including consistency in how variables are formatted. 2002-04-18 11:14:33 +00:00
lukem 5ee7ac8886 Replace $critical_filesystems_beforenet with $critical_filesystems_local .
Replace  $critical_filesystems            with  $critical_filesystems_remote .

The new names are now consistent with the type argument that
mount_critical_filesystems() is called with, and allows for other types to
be easily supported by that function.

For backwards compatibility purposes, if the now obsolete variable is defined
(even empty), it takes precedence over the new form, and you will be warned.
If you want to stop the warnings, update your rc.conf(5) settings!
2002-03-27 08:53:39 +00:00
lukem ee821504dd - document optional "interpreter" argument to check_pidfile() and
check_process()
- document rc_* variables available in method and after run_rc_command()
  completes
2002-03-24 15:32:59 +00:00
lukem b8bcb6125d document $command_interpreter 2002-03-21 12:29:18 +00:00
lukem ce3cfa06ae document ${_arg}_postcmd 2002-03-13 04:57:11 +00:00
wiz c38591ca4c Punctuation nits. 2002-02-25 13:16:45 +00:00
lukem 80ce7c6cb7 Fixes derived from [bin/15563] submitted by Ron Roskens:
- Don't su(1) to ${name}_user if running as that user.
- Support $procname as the name of the process to search for.
  Defaults to the value of $command.
2002-02-25 12:49:33 +00:00
lukem 868c9ba182 rc.subr(8) - functions used by system shell scripts. Closes PR [misc/10828]. 2002-02-25 12:05:13 +00:00