#!/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 and reinstall"
			kill -9 0
		fi
		done
	echo "Welcome to ForensiX"
else
	echo "Invalid Registration File! Please register properly and reinstall"
	kill -9 0
fi
PATH=.:./bin:$PATH;export PATH
./ForensiX.pl
