Change killprocs to use kill_all instead of killall5

X-Gentoo-Bug:376977
X-Gentoo-Bug-URL:https://bugs.gentoo.org/show_bug.cgi?id=376977
This commit is contained in:
William Hubbs 2017-05-30 18:48:33 -05:00
parent 0ddee9b7d2
commit 44bac3c379
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
# If you wish to pass any options to killall5 during shutdown, # If you wish to pass any options to kill_all during shutdown,
# you should do so here. # you should do so here.
#
# The setting is called killall5_opts because the options here are meant
# to be identical to those you could pass to killall5.
killall5_opts="" killall5_opts=""

View File

@ -19,9 +19,9 @@ depend()
start() start()
{ {
ebegin "Terminating remaining processes" ebegin "Terminating remaining processes"
killall5 -15 ${killall5_opts} kill_all 15 ${killall5_opts}
eend 0 eend 0
ebegin "Killing remaining processes" ebegin "Killing remaining processes"
killall5 -9 ${killall5_opts} kill_all 9 ${killall5_opts}
eend 0 eend 0
} }