summaryrefslogtreecommitdiff
path: root/initscripts/initscripts-1.0/sendsigs
diff options
context:
space:
mode:
Diffstat (limited to 'initscripts/initscripts-1.0/sendsigs')
-rw-r--r--initscripts/initscripts-1.0/sendsigs17
1 files changed, 17 insertions, 0 deletions
diff --git a/initscripts/initscripts-1.0/sendsigs b/initscripts/initscripts-1.0/sendsigs
index e69de29bb2..c62a5cd37d 100644
--- a/initscripts/initscripts-1.0/sendsigs
+++ b/initscripts/initscripts-1.0/sendsigs
@@ -0,0 +1,17 @@
+#! /bin/sh
+#
+# sendsigs Kill all remaining processes.
+#
+# Version: @(#)sendsigs 2.75 22-Jun-1998 miquels@cistron.nl
+#
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+# Kill all processes.
+echo "Sending all processes the TERM signal..."
+killall5 -15
+sleep 5
+echo "Sending all processes the KILL signal..."
+killall5 -9
+
+: exit 0