I noticed that runsvdir.c doesn't mention SIGINT anywhere. This signal is
sent by the kernel when ctrl-alt-del is pressed, provided
/proc/sys/kernel/ctrl-alt-del is "0".

I'm running runsvdir as PID 1: the last line of /sbin/init (a shell script)
is "exec runsvdir -s /sbin/runit-signal". runit-signal initiates a graceful
shutdown on signals 15 (reboot), 10 (halt), and 12 (power). You can read it
at https://woozle.org/neale/g.cgi/aur/runit-init/tree/usr/bin/runit-signal

Am I intended instead to have PID 1 fork-exec runsvdir, and handle signals,
passing them along?
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to