summaryrefslogtreecommitdiff
path: root/recipes/shr/initscripts-shr/sendsigs
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/shr/initscripts-shr/sendsigs')
-rw-r--r--recipes/shr/initscripts-shr/sendsigs17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/shr/initscripts-shr/sendsigs b/recipes/shr/initscripts-shr/sendsigs
new file mode 100644
index 0000000000..c62a5cd37d
--- /dev/null
+++ b/recipes/shr/initscripts-shr/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