#!/bin/sh
#echo "prerm"

count=`ps -ef |grep tjgd1zsmui |grep -v "grep" |wc -l`
#echo $count
if [ 0 != $count ];then
       killall tjgd1zsmui
fi
count=`ps -ef |grep tjgd1zsm |grep -v "grep" |wc -l`
#echo $count
if [ 0 != $count ];then
       killall tjgd1zsm
fi
count=`ps -ef |grep tjgd1zfm |grep -v "grep" |wc -l`
#echo $count
if [ 0 != $count ];then
       killall tjgd1zfm
fi
if [ -f "/tmp/.tjgd1z_fingerdata.db" ]
then
    rm -Rf /tmp/.tjgd1z_fingerdata.db 2>/dev/null
fi
if [ -f "/tmp/.tjgd_lock" ]
then
    rm -Rf /tmp/.tjgd_lock 2>/dev/null
fi
if [ -f "/tmp/.tjgd_info_lock" ]
then
    rm -Rf /tmp/.tjgd_info_lock 2>/dev/null
fi
