#!/bin/sh

while true
do
 if test -f IMAGE.rgb 
 then exit 0 
 fi
 sleep 1;
done

 