Deleted Added
full compact
rc.subr.8 (155913) rc.subr.8 (157473)
1.\" $NetBSD: rc.subr.8,v 1.12 2004/01/06 00:52:24 lukem Exp $
2.\"
3.\" Copyright (c) 2002-2004 The NetBSD Foundation, Inc.
4.\" All rights reserved.
5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Luke Mewburn.
8.\"

--- 20 unchanged lines hidden (view full) ---

29.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35.\" POSSIBILITY OF SUCH DAMAGE.
36.\"
1.\" $NetBSD: rc.subr.8,v 1.12 2004/01/06 00:52:24 lukem Exp $
2.\"
3.\" Copyright (c) 2002-2004 The NetBSD Foundation, Inc.
4.\" All rights reserved.
5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Luke Mewburn.
8.\"

--- 20 unchanged lines hidden (view full) ---

29.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35.\" POSSIBILITY OF SUCH DAMAGE.
36.\"
37.\" $FreeBSD: head/share/man/man8/rc.subr.8 155913 2006-02-22 15:12:07Z yar $
37.\" $FreeBSD: head/share/man/man8/rc.subr.8 157473 2006-04-04 10:52:15Z flz $
38.\"
38.\"
39.Dd February 22, 2006
39.Dd April 4, 2006
40.Dt RC.SUBR 8
41.Os
42.Sh NAME
43.Nm rc.subr
44.Nd functions used by system shell scripts
45.Sh SYNOPSIS
46.Bl -item -compact
47.It

--- 13 unchanged lines hidden (view full) ---

61.Ic err Ar exitval Ar message
62.It
63.Ic force_depend Ar name
64.It
65.Ic info Ar message
66.It
67.Ic load_rc_config Ar command
68.It
40.Dt RC.SUBR 8
41.Os
42.Sh NAME
43.Nm rc.subr
44.Nd functions used by system shell scripts
45.Sh SYNOPSIS
46.Bl -item -compact
47.It

--- 13 unchanged lines hidden (view full) ---

61.Ic err Ar exitval Ar message
62.It
63.Ic force_depend Ar name
64.It
65.Ic info Ar message
66.It
67.Ic load_rc_config Ar command
68.It
69.Ic load_rc_config_var Ar command Ar var
70.It
69.Ic mount_critical_filesystems Ar type
70.It
71.Ic rc_usage Ar command ...
72.It
73.Ic reverse_list Ar item ...
74.It
75.Ic run_rc_command Ar argument
76.It

--- 243 unchanged lines hidden (view full) ---

320.Pa /etc/rc.conf.d/ Ns Ar command
321is sourced if it is an existing file.
322The latter may also contain other variable assignments to override
323.Ic run_rc_command
324arguments defined by the calling script, to provide an easy
325mechanism for an administrator to override the behaviour of a given
326.Xr rc.d 8
327script without requiring the editing of that script.
71.Ic mount_critical_filesystems Ar type
72.It
73.Ic rc_usage Ar command ...
74.It
75.Ic reverse_list Ar item ...
76.It
77.Ic run_rc_command Ar argument
78.It

--- 243 unchanged lines hidden (view full) ---

322.Pa /etc/rc.conf.d/ Ns Ar command
323is sourced if it is an existing file.
324The latter may also contain other variable assignments to override
325.Ic run_rc_command
326arguments defined by the calling script, to provide an easy
327mechanism for an administrator to override the behaviour of a given
328.Xr rc.d 8
329script without requiring the editing of that script.
330.It Ic load_rc_config_var Ar command Ar var
331Read the
332.Xr rc.conf 5
333variable
334.Ar var
335for
336.Ar command
337and set in the current shell, using
338.Ic load_rc_config
339in a sub-shell to prevent unwanted side effects from other variable
340assignments.
328.It Ic mount_critical_filesystems Ar type
329Go through a list of critical file systems,
330as found in the
331.Xr rc.conf 5
332variable
333.Va critical_filesystems_ Ns Ar type ,
334mounting each one that
335is not currently mounted.

--- 509 unchanged lines hidden ---
341.It Ic mount_critical_filesystems Ar type
342Go through a list of critical file systems,
343as found in the
344.Xr rc.conf 5
345variable
346.Va critical_filesystems_ Ns Ar type ,
347mounting each one that
348is not currently mounted.

--- 509 unchanged lines hidden ---