Digital TV Forums - БЪЛГАРСКИЯТ ФОРУМ ЗА ЦИФРОВА ТЕЛЕВИЗИЯ

Шеринг и емулатори => Емулатори => Темата е започната от: thunderstorm6 - 14-09-2009, 08:37

Заглавие: Check_cam_status SifTeam
Публикувано от: thunderstorm6 - 14-09-2009, 08:37
Check_cam_status.tar.zip

#!/bin/sh


(ps -ef | grep [add here the name of cam.bin] | grep -v grep) && touch /tmp/ok || (/var/bin/[the name of the cam here] && date >> /tmp/restarted_cam)

exit0