init problems (feature or bug?)

Denis Vlasenko vda.linux at googlemail.com
Wed Jan 10 00:15:44 UTC 2007


On Monday 08 January 2007 14:13, Dirk Clemens wrote:
> I have found an init problem:
> 
> --------------- Example 1 ---------------
> 
> 
> --- file /etc/inittab ---
> ::shutdown:/etc/halt
> --- end --
> 
> --- file /etc/halt ---
> kill -TERM -1
> sleep 5
> kill -KILL -1
> sleep 5
> umount -a
> --- end --
> 
> After the first kill, /etc/halt will also be terminated.
> The second kill will never be executed.

Try using killall5. It exists for this sole purpose - killing at shutdown.
Even it's name is "killall for System V init".
--
vda



More information about the busybox mailing list