aboutsummaryrefslogtreecommitdiff
path: root/init.d/killprocs.in
blob: a969d52af108a25a0a9e5204e8aa768cdce3fa63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!@PREFIX@/sbin/runscript
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.

start()
{
	ebegin "Terminating remaining processes"
	killall5 -15
	sleep 1
	eend 0
	ebegin "Killing remaining processes"	
	killall5 -9
	sleep 1
	eend 0
}