view core/rc/rc.7 @ 1341:9f35c15329d1 default tip @

dev/meson: downgrade to 0.59.4 due to many regression
author David Demelier <markand@malikania.fr>
date Wed, 22 Dec 2021 21:52:57 +0100
parents 58211c615a8c
children
line wrap: on
line source

.\"
.\" Copyright (c) 2019 David Demelier <markand@malikania.fr>
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd July 08, 2019
.Dt RC 7
.Os
.Sh NAME
.Nm rc
.Nd Vanilla Linux init scripts
.Sh DESCRIPTION
Vanilla Linux runs either
.Ar busybox
or
.Ar sysvinit
init daemons. The former one is more minimalistic and does not support runlevels
while sysvinit is more traditional.
.Sh FILES AND DIRECTORIES
All files specified here are user editable and protected by
.Nm vpk .
Therefore, you can safely edit them for your own purposes.
.Pp
The following files and directories are understood by Vanilla Linux init
process:
.Bl -tag -width 18n
.It Pa /etc/rc.conf
The global configuration file for system initialization and basic configuration.
See
.Xr rc.conf 5
for more details.
.It Pa /etc/rc.init
File executed early by boot process to perform the machine initialization. It
mounts filesystem, checks devices sets configuration from
.Pa /etc/rc.conf
file.
.It Pa /etc/rc.networking
Enable network interfaces and configure them. Called just before starting user
services and mostly used for static address scenarios.
.It Pa /etc/rc.start
This script is executed after the initialization and start users services. It
takes a runlevel number as argument which is in the range 0-6.
.It Pa /etc/rc.shutdown
This file is executed when the machine is going off. Its purpose is to shutdown
all processed, unmount filesystem and halts the machine.
.El
.Sh SEE ALSO
.Xr rc.conf 5