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:
parent
e152199860
commit
013e7fb9fc
@ -1,2 +1,2 @@
|
||||
CONF+= consolefont dmesg hwclock keymaps modules
|
||||
CONF+= consolefont dmesg hwclock keymaps killprocs modules
|
||||
SOS= Linux
|
||||
|
3
conf.d/killprocs
Normal file
3
conf.d/killprocs
Normal file
@ -0,0 +1,3 @@
|
||||
# If you wish to pass any options to killall5 during shutdown,
|
||||
# you should do so here.
|
||||
killall5_opts=""
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user