blob: 85d25cb1750b0604850521e02efe2d8d2cc5868e (
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/fs/
|