Re: Faster shutdown and the ubuntu "multiuser" update-rc.d extention
On Fri, Jan 04, 2008 at 12:16:28AM +0100, Kurt Roeckx wrote:
> On Fri, Jan 04, 2008 at 12:01:17AM +0100, Petter Reinholdtsen wrote:
> >
> > # use SIGCONT/signal 18 to check if there are
> > # processes left. No need to check the exit code
> > # value, because either killall5 work and it make
> > # sense to wait for processes to die, or it fail and
> > # there is nothing to wait for.
> > - killall5 -18 $OMITPIDS || break
> > +
> > + if killall5 -18 $OMITPIDS ; then
>
> Why is it using -18? Please change that to SIGCONT, it depends on the
> arch what the value should be. See signal(7), which even mentions that
> that is different for ppc/i386.
Which killall5 obviously doesn't support.
Kurt
Reply to: