[csw-devel] SF.net SVN: opencsw:[508] catalog_signatures/bin/passphrase_verify

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Aug 11 04:34:27 CEST 2011


Revision: 508
          http://opencsw.svn.sourceforge.net/opencsw/?rev=508&view=rev
Author:   bdwalton
Date:     2011-08-11 02:34:27 +0000 (Thu, 11 Aug 2011)

Log Message:
-----------
generate a mail notice when the gpg passphrase expires

Signed-off-by: Ben Walton <bwalton at opencsw.org>

Modified Paths:
--------------
    catalog_signatures/bin/passphrase_verify

Modified: catalog_signatures/bin/passphrase_verify
===================================================================
--- catalog_signatures/bin/passphrase_verify	2011-08-11 02:34:07 UTC (rev 507)
+++ catalog_signatures/bin/passphrase_verify	2011-08-11 02:34:27 UTC (rev 508)
@@ -13,7 +13,7 @@
     else
 	reset
 	clear
-	# send mail here...
+	echo "The gpg passphrase has expired..." | mail -s '[CSW Notice] Catalog Signature Expiry' ${APP_MAILTO}
 	echo "$(date +%c): AHA!  The passphrase has expired...[Mail sent.]"
 	echo "$(date +%c): Press ENTER to continue monitoring."
 	read CONT


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list