#! /bin/bash

# A bourne shell script which simply e-mails root of any intruder device 
# activity.  It can be made, much more complex however (see firealert for more
# details)...

if test $# -ne 1 
then
	echo "Syntax:"
	echo "	$0 X"
	echo "Where X is the ZONE (1-5) activated"
	exit 
	exit
fi

if test $1 -gt 0 -a $1 -lt 6
then
	echo "INTRUDER ALERT ZONE $1 `date`" | mail -s "Phantom.Cop INTRUDER ALERT" root
fi
