#!/bin/bash
COUNT=`grep serial_stats_struct /usr/include/linux/serial.h|wc -l`
if [ $COUNT = "0" ]
then
	echo
	echo Serial Monitor is not installed ! \
		Please install it and recompile the kernel.
	echo Look into  ./serialmon-0.23/README for further information.
	echo
	exit 1
fi
