blob: 13642b83a14eb572ae6741d627d9729abc07b88f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
sinit - suckless init
=====================
sinit is a simple init. It was initially based on
Rich Felker's minimal init[1].
Why?
----
I wanted to get rid of Busybox init on my toy distro[2].
How?
----
There are 3 signals that sinit will act on.
SIGUSR1: powers off the machine.
SIGINT: reboots the machine (or alternatively via ctrl-alt-del).
SIGCHLD: reap children
To see how sinit integrates with the init scripts, then have
a look at [3].
[1] https://gist.github.com/rofl0r/6168719
[2] http://git.2f30.org/morpheus/
[3] http://git.2f30.org/ports/tree/fs/
|