case "${1}" in
stop)
- boot_mesg "Sending all processes the TERM signal..."
+ boot_mesg "Sending all processes the TERM signal..." ${WARN}
killall5 -15
error_value=${?}
sleep ${KILLDELAY}
- if [ "${error_value}" = 0 ]; then
+ if [ "${error_value}" = 0 -o "${error_value}" = 2 ]; then
echo_ok
else
echo_failure
fi
- boot_mesg "Sending all processes the KILL signal..."
+ boot_mesg "Sending all processes the KILL signal..." ${ERR}
killall5 -9
error_value=${?}
sleep ${KILLDELAY}
- if [ "${error_value}" = 0 ]; then
+ if [ "${error_value}" = 0 -o "${error_value}" = 2 ]; then
echo_ok
else
echo_failure