rc.subr.8 (159367) | rc.subr.8 (159828) |
---|---|
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 159367 2006-06-07 10:20:57Z flz $ | 37.\" $FreeBSD: head/share/man/man8/rc.subr.8 159828 2006-06-21 09:42:55Z yar $ |
38.\" 39.Dd June 7, 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 --- 13 unchanged lines hidden (view full) --- 59.Ic debug Ar message 60.It 61.Ic err Ar exitval Ar message 62.It 63.Ic force_depend Ar name 64.It 65.Ic info Ar message 66.It | 38.\" 39.Dd June 7, 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 --- 13 unchanged lines hidden (view full) --- 59.Ic debug Ar message 60.It 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_kld Oo Fl e Ar regex Oc Oo Fl m Ar module Oc Ar file 68.It |
|
67.Ic load_rc_config Ar name 68.It 69.Ic load_rc_config_var Ar name Ar var 70.It 71.Ic mount_critical_filesystems Ar type 72.It 73.Ic rc_usage Ar command ... 74.It --- 232 unchanged lines hidden (view full) --- 307.Dq Li ": INFO: " , 308and then 309.Ar message . 310The display of this informational output can be 311turned on or off by the 312.Xr rc.conf 5 313variable 314.Va rc_info . | 69.Ic load_rc_config Ar name 70.It 71.Ic load_rc_config_var Ar name Ar var 72.It 73.Ic mount_critical_filesystems Ar type 74.It 75.Ic rc_usage Ar command ... 76.It --- 232 unchanged lines hidden (view full) --- 309.Dq Li ": INFO: " , 310and then 311.Ar message . 312The display of this informational output can be 313turned on or off by the 314.Xr rc.conf 5 315variable 316.Va rc_info . |
317.It Ic load_kld Oo Fl e Ar regex Oc Oo Fl m Ar module Oc Ar file 318Load 319.Ar file 320as a kernel module unless it is already loaded. 321For the purpose of checking the module status, 322either the exact module name can be specified using 323.Fl m , 324or an 325.Xr egrep 1 326regular expression matching the module name can be supplied via 327.Fl e . 328By default, the module is assumed to have the same name as 329.Ar file , 330which is not always the case. |
|
315.It Ic load_rc_config Ar name 316Source in the configuration files for 317.Ar name . 318First, 319.Pa /etc/defaults/rc.conf 320and 321.Pa /etc/rc.conf 322are sourced if they have not yet been read in. --- 561 unchanged lines hidden --- | 331.It Ic load_rc_config Ar name 332Source in the configuration files for 333.Ar name . 334First, 335.Pa /etc/defaults/rc.conf 336and 337.Pa /etc/rc.conf 338are sourced if they have not yet been read in. --- 561 unchanged lines hidden --- |