Deleted Added
full compact
rc.subr.8 (256281) rc.subr.8 (273993)
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.\"

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

22.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28.\" POSSIBILITY OF SUCH DAMAGE.
29.\"
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.\"

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

22.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28.\" POSSIBILITY OF SUCH DAMAGE.
29.\"
30.\" $FreeBSD: stable/10/share/man/man8/rc.subr.8 255809 2013-09-23 04:36:51Z des $
30.\" $FreeBSD: stable/10/share/man/man8/rc.subr.8 273993 2014-11-02 22:41:55Z hrs $
31.\"
31.\"
32.Dd September 23, 2012
32.Dd October 12, 2014
33.Dt RC.SUBR 8
34.Os
35.Sh NAME
36.Nm rc.subr
37.Nd functions used by system shell scripts
38.Sh SYNOPSIS
39.Bl -item -compact
40.It

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

563.It Va ${name}_chroot
564Directory to
565.Xr chroot 8
566to before running
567.Va command .
568Only supported after
569.Pa /usr
570is mounted.
33.Dt RC.SUBR 8
34.Os
35.Sh NAME
36.Nm rc.subr
37.Nd functions used by system shell scripts
38.Sh SYNOPSIS
39.Bl -item -compact
40.It

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

563.It Va ${name}_chroot
564Directory to
565.Xr chroot 8
566to before running
567.Va command .
568Only supported after
569.Pa /usr
570is mounted.
571.It Va ${name}_env
572A list of environment variables to run
573.Va command
574with.
575This will be passed as arguments to
576.Xr env 1
577utility.
578.It Va ${name}_fib
579FIB
580.Pa Routing Table
581number to run
582.Va command
583with.
584See
585.Xr setfib 1
586for more details.
571.It Va ${name}_flags
572Arguments to call
573.Va command
574with.
575This is usually set in
576.Xr rc.conf 5 ,
577and not in the
578.Xr rc.d 8

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

617.It Va ${name}_group
618Group to run the chrooted
619.Va command
620as.
621.It Va ${name}_groups
622Comma separated list of supplementary groups to run the chrooted
623.Va command
624with.
587.It Va ${name}_flags
588Arguments to call
589.Va command
590with.
591This is usually set in
592.Xr rc.conf 5 ,
593and not in the
594.Xr rc.d 8

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

633.It Va ${name}_group
634Group to run the chrooted
635.Va command
636as.
637.It Va ${name}_groups
638Comma separated list of supplementary groups to run the chrooted
639.Va command
640with.
641.It Va ${name}_prepend
642Commands to be prepended to
643.Va command .
644This is a generic version of
645.Va ${name}_env ,
646.Va ${name}_fib ,
647or
648.Va ${name}_nice .
625.It Ar argument Ns Va _cmd
626Shell commands which override the default method for
627.Ar argument .
628.It Ar argument Ns Va _precmd
629Shell commands to run just before running
630.Ar argument Ns Va _cmd
631or the default method for
632.Ar argument .

--- 249 unchanged lines hidden ---
649.It Ar argument Ns Va _cmd
650Shell commands which override the default method for
651.Ar argument .
652.It Ar argument Ns Va _precmd
653Shell commands to run just before running
654.Ar argument Ns Va _cmd
655or the default method for
656.Ar argument .

--- 249 unchanged lines hidden ---