X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fbootscripts%2Fsendsignals;h=d1a06a22f1e1483e8a34dd1787d463a0463f394a;hb=6007645124befc70ffe2fae5500022b215d59ce6;hp=6bde3e31dea4ee50d8e8298efd1e12db230377c5;hpb=6d3d50c17b24ef41f917f5776696eca810198092;p=hvlinux.git diff --git a/stage1/bootscripts/sendsignals b/stage1/bootscripts/sendsignals index 6bde3e3..d1a06a2 100755 --- a/stage1/bootscripts/sendsignals +++ b/stage1/bootscripts/sendsignals @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # sendsignals @@ -8,10 +8,14 @@ source /etc/rc.d/init.d/functions 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 $?