Diff of /trunk/initscripts/sysvinit/rc/sendsignals
Parent Directory | Revision Log | Patch
trunk/magellan-initscripts/etc/rc.d/init.d/sendsignals revision 3 by niro, Mon Dec 13 22:52:07 2004 UTC | trunk/magellan-initscripts/rc/sendsignals revision 1263 by niro, Fri Mar 11 17:44:48 2011 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | #!/bin/bash | #!/bin/bash |
2 | # $Id$ | |
3 | ||
4 | #%rlevels: 0:k 6:k | #%rlevels: 0:k 6:k |
5 | #%start: | #%start: |
# | Line 9 | 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 31 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 |
|