Pentium44 e22c640bbf Builds a micro distro 3 years ago
..
LICENSE e22c640bbf Builds a micro distro 3 years ago
Makefile e22c640bbf Builds a micro distro 3 years ago
README e22c640bbf Builds a micro distro 3 years ago
config.def.h e22c640bbf Builds a micro distro 3 years ago
config.h e22c640bbf Builds a micro distro 3 years ago
config.mk e22c640bbf Builds a micro distro 3 years ago
sinit.8 e22c640bbf Builds a micro distro 3 years ago
sinit.c e22c640bbf Builds a micro distro 3 years ago

README

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/