Deleted Added
full compact
rc.8 (171562) rc.8 (199463)
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Portions of this manual page are Copyrighted by
5.\" The NetBSD Foundation.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

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

28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.\" @(#)rc.8 8.2 (Berkeley) 12/11/93
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Portions of this manual page are Copyrighted by
5.\" The NetBSD Foundation.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

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

28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.\" @(#)rc.8 8.2 (Berkeley) 12/11/93
36.\" $FreeBSD: head/share/man/man8/rc.8 171562 2007-07-24 06:41:07Z delphij $
36.\" $FreeBSD: head/share/man/man8/rc.8 199463 2009-11-18 00:56:05Z delphij $
37.\"
37.\"
38.Dd May 18, 2007
38.Dd November 17, 2009
39.Dt RC 8
40.Os
41.Sh NAME
42.Nm rc
43.Nd command scripts for auto-reboot and daemon startup
44.Sh SYNOPSIS
45.Nm
46.Nm rc.conf

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

389caused by hardware or software failure will be performed
390in the background at the end of the booting process.
391If
392.Cm autoboot
393is not set, when going from single-user to multi-user mode for example,
394the script does not do anything.
395.Pp
396The
39.Dt RC 8
40.Os
41.Sh NAME
42.Nm rc
43.Nd command scripts for auto-reboot and daemon startup
44.Sh SYNOPSIS
45.Nm
46.Nm rc.conf

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

389caused by hardware or software failure will be performed
390in the background at the end of the booting process.
391If
392.Cm autoboot
393is not set, when going from single-user to multi-user mode for example,
394the script does not do anything.
395.Pp
396The
397.Nm rc.early
398script is run very early in the startup process, immediately before the
399file system check.
400The
401.Nm rc.early
402script is deprecated.
403Any commands in this
404file should be separated out into
405.Nm rc.d/
406style scripts and integrated into the
407.Nm
408system.
409.Pp
410The
411.Pa /etc/rc.d/local
412script can execute scripts from multiple
413.Nm rc.d/
414directories.
415The default location includes
416.Pa /usr/local/etc/rc.d/ ,
417but these may be overridden with the
418.Va local_startup

--- 138 unchanged lines hidden ---
397.Pa /etc/rc.d/local
398script can execute scripts from multiple
399.Nm rc.d/
400directories.
401The default location includes
402.Pa /usr/local/etc/rc.d/ ,
403but these may be overridden with the
404.Va local_startup

--- 138 unchanged lines hidden ---