>  2. Your manual shutdown script will kill itself when it sends SIGKILL
> to everyone, and will not complete. The only way to prevent that is to
> run the shutdown procedure as process 1 - or at least to have a hook in
> process 1 to run the remaining shutdown script after the kill.

 Erratum: killall5 prevents this, since it does not signal the processes
in its own session. Ugh. I'll have to study how it's done - the kill()
system call does not make this easy, so I suspect excluding one process
group or session from the slaughter requires scanning. Brb studying this.

-- 
 Laurent
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to