diff options
author | dougb <dougb@FreeBSD.org> | 2012-01-14 21:51:44 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2012-01-14 21:51:44 +0000 |
commit | c578dd940cf46033db16e2a6545bdf221612b85b (patch) | |
tree | 81abe2a9766cc293f6d91695b58c4db0a72c5767 /share/man/man8/rc.subr.8 | |
parent | cb6681a68e5080fd2f14d14a56be7a77ddd6a552 (diff) | |
download | FreeBSD-src-c578dd940cf46033db16e2a6545bdf221612b85b.zip FreeBSD-src-c578dd940cf46033db16e2a6545bdf221612b85b.tar.gz |
Remove documentation for set_rcvar() now that it has been removed.
Diffstat (limited to 'share/man/man8/rc.subr.8')
-rw-r--r-- | share/man/man8/rc.subr.8 | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8 index a3c759a..8ed2470 100644 --- a/share/man/man8/rc.subr.8 +++ b/share/man/man8/rc.subr.8 @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 18, 2007 +.Dd January 14, 2012 .Dt RC.SUBR 8 .Os .Sh NAME @@ -73,8 +73,6 @@ .It .Ic run_rc_script Ar file Ar argument .It -.Ic set_rcvar Op Ar base -.It .Ic wait_for_pids Op Ar pid ... .It .Ic warn Ar message @@ -832,32 +830,6 @@ signal is sent to the parent process, which is assumed to be .Xr rc 8 . Otherwise, the shell exits with a non-zero status. -.It Ic set_rcvar Op Ar base -Set the variable name required to start a service. -In -.Fx -a daemon is usually controlled by an -.Xr rc.conf 5 -variable consisting of a daemon's name postfixed by the string -.Dq Li "_enable" . -This is not the case in -.Nx . -When the following line is included in a script: -.Pp -.Dl "rcvar=`set_rcvar`" -.Pp -this function will use the value of the -.Va $name -variable, which should be defined by the calling script, -to construct the appropriate -.Xr rc.conf 5 -knob. -If the -.Ar base -argument is set it will use -.Ar base -instead of -.Va $name . .It Ic wait_for_pids Op Ar pid ... Wait until all of the provided .Ar pids |