If the problem is to detect if there is omniscsi.device... I guess there would be better solution too, but atm this kludge comes in my mind

failat 21
version omniscsi.device >nil:
if fail
echo "does not exist"
else
echo "exists"
endif
Put anything you want instead those echos... quit command quits the script
