X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=sidebyside;f=stage1%2Fbootscripts%2Fsendsignals;h=d1a06a22f1e1483e8a34dd1787d463a0463f394a;hb=6007645124befc70ffe2fae5500022b215d59ce6;hp=c546fe51613a7a36c77331f0ed8a2d3a4e55dfb9;hpb=97b938a7a341fe0d45ba4f93ce9e785b2bdc182a;p=hvlinux.git diff --git a/stage1/bootscripts/sendsignals b/stage1/bootscripts/sendsignals index c546fe5..d1a06a2 100755 --- a/stage1/bootscripts/sendsignals +++ b/stage1/bootscripts/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 $?