Update README - sinit - suckless init
(HTM) git clone git://git.suckless.org/sinit
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 11333316755b558ba963ad7b8a6b169f762fadfa
(DIR) parent 5ae4360bad8ea469f133746440e3145682fecdba
(HTM) Author: sin <sin@2f30.org>
Date: Fri, 7 Feb 2014 17:13:31 +0000
Update README
Diffstat:
M README | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
(DIR) 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].