-#!/bin/sh
+#!/bin/bash
# sendsignals
log_script_name "$0 $*"
# Send all the remaining processes the TERM signal
-cmd_run_log_box "Sending all processes the TERM signal" /sbin/killall5 -15
+cmd_run_log_box_warn "Sending all processes the TERM signal" /sbin/killall5 -15
-# Send all the remaining process (after sending them the TERM signal before)
+sleep 2
+
+# Send all the remaining processes (after sending them the TERM signal before)
# the KILL signal.
-cmd_run_log_box "Sending all processes the KILL signal" /sbin/killall5 -9
+cmd_run_log_box_warn "Sending all processes the KILL signal" /sbin/killall5 -9
+
+sleep 2
exit $?