aboutsummaryrefslogtreecommitdiff
path: root/README
blob: fe35f60140bb0df76b6e31481533b8979620c64a (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
Strake's init.c[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://github.com/strake/init
[2] http://git.2f30.org/morpheus/
[3] http://git.2f30.org/fs/