Deleted Added
full compact
rc.subr.8 (165566) rc.subr.8 (169668)
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 165566 2006-12-27 13:22:41Z yar $
37.\" $FreeBSD: head/share/man/man8/rc.subr.8 169668 2007-05-18 12:04:41Z mtm $
38.\"
38.\"
39.Dd December 27, 2006
39.Dd May 18, 2007
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

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

828is empty,
829source
830.Ar file
831in a sub shell,
832otherwise source
833.Ar file
834into the current shell.
835.El
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

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

828is empty,
829source
830.Ar file
831in a sub shell,
832otherwise source
833.Ar file
834into the current shell.
835.El
836.It Ic stop_boot Op Ar always
837Prevent booting to multiuser mode.
838If the
839.Sy autoboot
840variable is
841.Sq yes ,
842or
843.Ar always
844is
845.Sq true ,
846then a
847.Sy SIGTERM
848signal is sent to the parent
849process (which is assumed to be
850.Xr rc 8 ).
851Otherwise, the shell exits with status
852.Li 1 .
836.It Ic set_rcvar Op Ar base
837Set the variable name required to start a service.
838In
839.Fx
840a daemon is usually controlled by an
841.Xr rc.conf 5
842variable consisting of a daemon's name postfixed by the string
843.Dq Li "_enable" .

--- 64 unchanged lines hidden ---
853.It Ic set_rcvar Op Ar base
854Set the variable name required to start a service.
855In
856.Fx
857a daemon is usually controlled by an
858.Xr rc.conf 5
859variable consisting of a daemon's name postfixed by the string
860.Dq Li "_enable" .

--- 64 unchanged lines hidden ---