Magellan Linux

Diff of /trunk/initscripts/sysvinit/rc/sendsignals

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/magellan-initscripts/etc/rc.d/init.d/sendsignals revision 71 by niro, Tue Mar 15 19:07:56 2005 UTC trunk/initscripts/sysvinit/rc/sendsignals revision 1356 by niro, Sat Jun 4 21:05:01 2011 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/sendsignals,v 1.2 2005-03-15 19:07:56 niro Exp $  # $Id$
3    
4  #%rlevels: 0:k 6:k  #%rlevels: 0:k 6:k
5  #%start:  #%start:
# Line 10  Line 10 
10  #%before:  #%before:
11  #%after:  #%after:
12    
13  source /etc/sysconfig/rc  source /etc/conf.d/rc
14  source $rc_functions  source ${rc_functions}
15    
16  echo -e ${COLOREDSTAR}"Sending all processes the TERM signal ..."  rc_print "Sending all processes the TERM signal ..."
17  killall5 -15  killall5 -15
18  error_value=$?  error_value=$?
19    
# Line 32  else Line 32  else
32   print_status failure   print_status failure
33  fi  fi
34    
35  echo -e ${COLOREDSTAR}"Sending all processes the KILL signal ..."  rc_print "Sending all processes the KILL signal ..."
36  killall5 -9  killall5 -9
37  error_value=$?  error_value=$?
38    

Legend:
Removed from v.71  
changed lines
  Added in v.1356