summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts-1.0/sendsigs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/initscripts/initscripts-1.0/sendsigs')
-rwxr-xr-x[-rw-r--r--]packages/initscripts/initscripts-1.0/sendsigs17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/initscripts/initscripts-1.0/sendsigs b/packages/initscripts/initscripts-1.0/sendsigs
index e69de29bb2..c62a5cd37d 100644..100755
--- a/packages/initscripts/initscripts-1.0/sendsigs
+++ b/packages/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