Briefly note /etc/rc.local in rc(8).
This commit is contained in:
parent
0e2d5f4d40
commit
83b0eb8ab6
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: mi,v 1.1207 2010/05/08 08:14:36 jmmv Exp $
|
||||
# $NetBSD: mi,v 1.1208 2010/05/14 16:19:58 jruoho Exp $
|
||||
#
|
||||
# Note: don't delete entries from here - mark them as "obsolete" instead.
|
||||
#
|
||||
|
@ -2510,6 +2510,7 @@
|
|||
./usr/share/man/cat8/rbootd.0 man-bootserver-catman .cat
|
||||
./usr/share/man/cat8/rc.0 man-rc-catman .cat
|
||||
./usr/share/man/cat8/rc.d.0 man-rc-catman .cat
|
||||
./usr/share/man/cat8/rc.local.0 man-rc-catman .cat
|
||||
./usr/share/man/cat8/rc.shutdown.0 man-rc-catman .cat
|
||||
./usr/share/man/cat8/rc.subr.0 man-rc-catman .cat
|
||||
./usr/share/man/cat8/rcorder.0 man-sysutil-catman .cat
|
||||
|
@ -4920,6 +4921,7 @@
|
|||
./usr/share/man/html8/rbootd.html man-bootserver-htmlman html
|
||||
./usr/share/man/html8/rc.html man-rc-htmlman html
|
||||
./usr/share/man/html8/rc.d.html man-rc-htmlman html
|
||||
./usr/share/man/html8/rc.local.html man-rc-htmlman html
|
||||
./usr/share/man/html8/rc.shutdown.html man-rc-htmlman html
|
||||
./usr/share/man/html8/rc.subr.html man-rc-htmlman html
|
||||
./usr/share/man/html8/rcorder.html man-sysutil-htmlman html
|
||||
|
@ -7604,6 +7606,7 @@
|
|||
./usr/share/man/man8/rbootd.8 man-bootserver-man .man
|
||||
./usr/share/man/man8/rc.8 man-rc-man .man
|
||||
./usr/share/man/man8/rc.d.8 man-rc-man .man
|
||||
./usr/share/man/man8/rc.local.8 man-rc-man .man
|
||||
./usr/share/man/man8/rc.shutdown.8 man-rc-man .man
|
||||
./usr/share/man/man8/rc.subr.8 man-rc-man .man
|
||||
./usr/share/man/man8/rcorder.8 man-sysutil-man .man
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.96 2008/10/20 22:29:39 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.97 2010/05/14 16:19:58 jruoho Exp $
|
||||
# from: @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||
|
||||
MAN= MAKEDEV.8 MAKEDEV.local.8 afterboot.8 boot.8 compat_30.8 \
|
||||
|
@ -20,6 +20,7 @@ MLINKS+=compat_pecoff.8 peace.8
|
|||
MLINKS+=compat_netbsd32.8 netbsd32.8
|
||||
MLINKS+=nis.8 yp.8
|
||||
MLINKS+=rc.8 rc.d.8
|
||||
MLINKS+=rc.8 rc.local.8
|
||||
MLINKS+=rc.8 rc.shutdown.8
|
||||
|
||||
SUBDIR= man8.acorn26 man8.acorn32 man8.alpha man8.amd64 man8.amiga man8.atari \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: rc.8,v 1.35 2010/04/14 13:07:19 wiz Exp $
|
||||
.\" $NetBSD: rc.8,v 1.36 2010/05/14 16:19:58 jruoho Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2000-2004 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -27,16 +27,18 @@
|
|||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd April 14, 2010
|
||||
.Dd May 14, 2010
|
||||
.Dt RC 8
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm rc ,
|
||||
.Nm rc.local ,
|
||||
.Nm rc.shutdown ,
|
||||
.Nm rc.d/
|
||||
.Nd startup and shutdown scripts
|
||||
.Sh SYNOPSIS
|
||||
.Nm rc
|
||||
.Nm rc.local
|
||||
.Nm rc.shutdown
|
||||
.Nm rc.d/
|
||||
.Sh DESCRIPTION
|
||||
|
@ -53,6 +55,12 @@ is starting the automatic reboot process,
|
|||
is invoked with the argument of
|
||||
.Sq autoboot .
|
||||
.Pp
|
||||
.Nm rc.local
|
||||
is a command script to which local boot-time actions can be added.
|
||||
It is (nearly) the last thing invoked by
|
||||
.Nm rc
|
||||
during a normal boot.
|
||||
.Pp
|
||||
.Nm rc.shutdown
|
||||
is the command script which shuts down various services, and is invoked by
|
||||
.Xr shutdown 8
|
||||
|
@ -323,6 +331,8 @@ Startup script called by
|
|||
.Xr init 8 .
|
||||
.It Pa /etc/rc.d/
|
||||
Directory containing control scripts for each service.
|
||||
.It Pa /etc/rc.local
|
||||
Local startup script.
|
||||
.It Pa /etc/rc.shutdown
|
||||
Shutdown script called by
|
||||
.Xr shutdown 8 .
|
||||
|
|
Loading…
Reference in New Issue