[BusyBox] Ordering on init shutdown.
Erik Andersen
andersen at codepoet.org
Mon Sep 16 00:48:05 UTC 2002
On Wed Sep 11, 2002 at 09:06:53AM -0700, Joel Krauska wrote:
> When busybox init gets killed (you reboot or halt....)
> it does three main things in shutdown_system().
>
> 1. It sends all procs SIGTERM.
> 2. It sends all procs SIGKILL
> 3. It runs the shutdown actions given in /etc/inittab
>
> I believe the ordering should actually be.
>
> 1. It runs the shutdown actions given in /etc/inittab
> 2. It sends all procs SIGTERM.
> 3. It sends all procs SIGKILL
>
>
> I have some processes that are best killed off in a certain order,
> and I've built the scripts to manage that, but because of init's
> ordering I can't control this.
>
> Are there reasons the current ordering is preferred?
I can see the advantage of letting people run their
shutdown actions prior to killing everything. Changed.
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list