From: Carl N Baldwin <cnb@hpsvcnb.fc.hp.com>
Date: Thu, 27 Oct 2005 19:27:50 +0000 (-0600)
Subject: Add mailto before exit
X-Git-Tag: release-0.4~50
X-Git-Url: http://git.pippins.net/x.gif?a=commitdiff_plain;h=2dcd7016d6fef5aee48b11a997b43a9cdf44b790;p=backups%2F.git

Add mailto before exit
---

diff --git a/scripts/pack-image.sh b/scripts/pack-image.sh
index 92afa19..9d1e5b2 100755
--- a/scripts/pack-image.sh
+++ b/scripts/pack-image.sh
@@ -57,6 +57,8 @@ umount $isomountdir
 echo "Calculating md5sum for image"
 md5sum $isoimage | awk '{print$1}' > $isoimage.md5sum
 
+cat $statusfile | mailx -s "DVD image available to burn - $today" $mailto
+
 exit 0
 
 # Burn the iso image