#!/sbin/sh
#ident  "@(#)pt7764j/xs_solaris/CMS/api_examples/ph_action_2	1.2 97/07/14"
# Example PhoneHome action file
#
# Arguments are as follows:
#
#       $1 - module name and number
#       $2 - attribute name
#       $3 - previous value of attribute
#       $4 - new value of attribute
#       $5 - reason for change [empty string if reason not specified]
#       $6 - timestamp
#       $7 - location or "-" if the module does not have a location
#       $8 - reason code for change
#
# Copyright (c) 1997, Sun Microsystems, Inc.
# All rights reserved.

mail root <<message
Subject: PhoneHome event on $1

PhoneHome event:
Module: 		$1
Attribute: 		$2
Location:		$7
Previous state:		$3
Current state:		$4
Reason:			$5
Reason code:		$8
Timestamp		$6

message
