> See "man 2 kill" and scroll down to the notes. kill(-1,sig) does > not send to calling process on Linux. Linux specific not POSIX.
Indeed, I'm used to the POSIX specification and should read the Linux man pages more often... thanks Harald. And if the killing process does not kill itself, then there is no reason at all for process scanning, and the killall5 insanity is totally unnecessary. Only a "killall-and-exec" program is needed, which performs kill(-1, SIGKILL) and execs into the remainder of the command line. This command line can be the last part of a shutdown script - it can be a script itself, unmounting the filesystems and powering off the machine. -- Laurent _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
