OSDN Git Service

Explain signals in oneit help text.
authorRob Landley <rob@landley.net>
Mon, 2 Nov 2015 15:07:49 +0000 (09:07 -0600)
committerRob Landley <rob@landley.net>
Mon, 2 Nov 2015 15:07:49 +0000 (09:07 -0600)
toys/other/oneit.c

index cc510c1..0e95a10 100644 (file)
@@ -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