#!/bin/sh moduleName="cctv-v3-native" tpid=`cat /var/run/$moduleName-tpid | awk '{print $1}'` tpid=`ps -aef | grep $tpid | awk '{print $2}' |grep $tpid` if [ ${tpid} ]; then kill $tpid fi