#! /bin/sh
#Thanks to Dennis "dweazle" Krul for the bash-magic
#Modified a little for listen patux@patux.net
LISTEN=`ps -e | grep python | grep [l]isten | grep -v info`
if [ -n "$LISTEN" ] 
then 
	listen -c 
else 
	echo 0 
fi 
exit 0
