11 lines
233 B
Plaintext
Raw Normal View History

2014-06-19 04:26:09 -04:00
#!/bin/bash
#Used only by sysclone
if [ -f "/etc/SuSE-release" ];then
str_out=`ps -ef | grep -v grep | grep syslog-ng`
if [ $? -eq 0 ];then
str_id=`echo $str_out | awk '{print $2}'`
kill -9 $str_id
fi
fi