Klaus Knopper wrote:

> Hello,
>
> In /etc/rc.d/init.d/halt:
>
> runcmd "Sending all processes the TERM signal..." kill -15 -1
> sleep 5
> runcmd "Sending all processes the KILL signal.."  kill -9 -1
>
> For obvious reasons, it should instead be:
>
> runcmd "Sending all processes the TERM signal..." /sbin/killall5 -15
> sleep 5
> runcmd "Sending all processes the KILL signal.."  /sbin/killall5 -9
>

No, the script is correct as written, the -1 causes all processes from MAX_INT to 2 to 
be killed.

--
John Allen                         email: [EMAIL PROTECTED]
MAO Technologies LLC.                www: http://www.maotech.ie
Linux Development, Support,        phone: intl+353-862315986
and Consulting.


Reply via email to