sinit

suckless init
git clone git://git.2f30.org/sinit
Log | Files | Refs | README | LICENSE

commit 11333316755b558ba963ad7b8a6b169f762fadfa
parent 5ae4360bad8ea469f133746440e3145682fecdba
Author: sin <sin@2f30.org>
Date:   Fri,  7 Feb 2014 17:13:31 +0000

Update README

Diffstat:
MREADME | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/README b/README @@ -12,9 +12,11 @@ I wanted to get rid of Busybox init on my toy distro[2]. How? ---- -sinit exposes a set of operations via a FIFO. Normally -this FIFO resides at '/var/run/sinit.fifo'. There are two -commands currently supported, 'reboot' and 'poweroff'. +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].