#!/bin/sh


search_pid=`ps |grep -v 'grep'|grep -v 'sh' |grep -v 'rpxc-mipsle'|grep -c 'embed-websvr'`

echo "embed-websvr: $search_pid"

if [ $search_pid -eq 0 ]
then
  cd /home &&./embed-websvr -uuidfile=/home/app.uuid &
fi

