allow options to be passed to killall5

This allows options to be passed to killall5 by the killprocs script.
This was added so that certain processes will not be killed during
shutdown.

x-Gentoo-Bug: 371625
x-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=371625
This commit is contained in:
William Hubbs
2011-06-23 21:52:44 -05:00
parent e152199860
commit 013e7fb9fc
3 changed files with 6 additions and 3 deletions

View File

@ -12,11 +12,11 @@ depend()
start()
{
ebegin "Terminating remaining processes"
killall5 -15
killall5 -15 ${killall5_opts}
sleep 1
eend 0
ebegin "Killing remaining processes"
killall5 -9
killall5 -9 ${killall5_opts}
sleep 1
eend 0
}