diff options
author | Rob Landley <rob@landley.net> | 2015-11-02 09:07:49 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-11-02 09:07:49 -0600 |
commit | 729401d267d6ce53443505210dd3dd9471056155 (patch) | |
tree | 44f6dcad29c53fcbd4f247d57eb65e16c6350454 /toys/other/oneit.c | |
parent | d20b9ff3ee0f1014a740baed908dc0a08c646fb6 (diff) | |
download | toybox-729401d267d6ce53443505210dd3dd9471056155.tar.gz |
Explain signals in oneit help text.
Diffstat (limited to 'toys/other/oneit.c')
-rw-r--r-- | toys/other/oneit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toys/other/oneit.c b/toys/other/oneit.c index cc510c15..0e95a104 100644 --- a/toys/other/oneit.c +++ b/toys/other/oneit.c @@ -22,6 +22,9 @@ config ONEIT Spawns a single child process (because PID 1 has signals blocked) in its own session, reaps zombies until the child exits, then reboots the system (or powers off with -p, or restarts the child with -r). + + Responds to SIGUSR1 by halting the system, SIGUSR2 by powering off, + and SIGTERM or SIGINT reboot. */ #define FOR_oneit |