Mercurial > vanilla
comparison core/rc/rc.7 @ 585:75c8521c9b7a
core/rc: add initial documentation
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 08 Jul 2019 20:30:00 +0200 |
parents | |
children | b8fa19b6a221 |
comparison
equal
deleted
inserted
replaced
584:82e07854bdd6 | 585:75c8521c9b7a |
---|---|
1 .\" | |
2 .\" Copyright (c) 2019 David Demelier <markand@malikania.fr> | |
3 .\" | |
4 .\" Permission to use, copy, modify, and/or distribute this software for any | |
5 .\" purpose with or without fee is hereby granted, provided that the above | |
6 .\" copyright notice and this permission notice appear in all copies. | |
7 .\" | |
8 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
9 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
10 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | |
11 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
12 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | |
13 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | |
14 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
15 .\" | |
16 .Dd July 08, 2019 | |
17 .Dt RC 7 | |
18 .Os | |
19 .Sh NAME | |
20 .Nm rc | |
21 .Nd vanilla init scripts | |
22 .Sh DESCRIPTION | |
23 Vanilla runs either | |
24 .Ar busybox | |
25 or | |
26 .Ar sysvinit | |
27 init daemons. The former one is more minimalistic and does not support runlevels | |
28 while sysvinit is more traditional. | |
29 .Sh FILES AND DIRECTORIES | |
30 All files specified here are user editable and protected by | |
31 .Nm vpk . | |
32 Therefore, you can safely edit them for your own purposes. | |
33 .Pp | |
34 The following files and directories are understood by Vanilla's init process: | |
35 .Bl -tag -width indent-xxxxxxxxxx | |
36 .It Pa /etc/rc.conf | |
37 The global configuration file for system initialization and basic configuration. | |
38 See | |
39 .Xr rc.conf 5 | |
40 for more details. | |
41 .It Pa /etc/rc.init | |
42 File executed early by boot process to perform the machine initialization. It | |
43 mounts filesystem, checks devices sets configuration from | |
44 .Pa /etc/rc.conf | |
45 file. | |
46 .It Pa /etc/rc.start | |
47 This script is executed after the initialization and start users services. It | |
48 takes a runlevel number as argument which is in the range 0-6. | |
49 .It Pa /etc/rc.shutdown | |
50 This file is executed when the machine is going off. Its purpose is to shutdown | |
51 all processed, unmount filesystem and halts the machine. | |
52 .El | |
53 .Sh SEE ALSO | |
54 .Xr rc.conf 5 |