#!/bin/sh
#
# $Id: dev_down.sh,v 1.2.2.1 2002/04/24 01:13:13 grm Exp $

#	/opt/SUNWsamfs/sbin/dev_down.sh - Take action in the event a device
#		is marked down by SAM.
#
#	arguments:	$1:	caller
#	                $2:	caller's pid
#	                $3:	logging level
#	                $4:	message catalog number
#	                $5:	device identifier
#
# Change the email address on the following line to send email to
# the appropriate recipient.
/usr/ucb/mail -s "SAM-FS Device downed" root <<EOF
`date`
SAM-FS has marked the device $5,
as down or off.  Check device log.
EOF

