From: Rob Landley Date: Mon, 2 Nov 2015 15:07:49 +0000 (-0600) Subject: Explain signals in oneit help text. X-Git-Tag: android-x86-8.1-r1~121^2~18 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=729401d267d6ce53443505210dd3dd9471056155;p=android-x86%2Fexternal-toybox.git Explain signals in oneit help text. --- 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