#!/bin/bash
if test -f registration
	then
	cat registration | while read a b
		do
		z=`bin/label $a`
		if test Z$z != Z$b
			then
			echo "Invalid Registration File! Please register properly before installation"
			kill -9 0
		fi
		done
	echo "Welcome to the ForensiX installer"
else
	echo "Please place your registration file in the `pwd` directory."
	kill -9 0
fi
