for vu+duo BH img 2.1.4 work this script
#!/bin/sh
if ps x |grep -v grep |grep -c oscam >/dev/null
then
echo "Error found, restart...";
echo `date "+%d/%m/%y %R Oscam still Ok 2"` >> /var/log/oscam.check
/usr/bin/killall -9 oscam
/usr/bin/oscam &
fi