summaryrefslogtreecommitdiffstats
path: root/gpg-agent.sh
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-02-24 19:46:00 +0100
committerFlorian Pritz <f-p@gmx.at>2009-02-24 19:46:00 +0100
commitf129bf7a7bad968939838d8efbd7cd878cf58257 (patch)
tree71f5e73f3fcca73e50fafc1b4f647f7bd3f402fb /gpg-agent.sh
parentc77adbb09670a5261b317a4cdfa41255019e896b (diff)
downloadbin-f129bf7a7bad968939838d8efbd7cd878cf58257.tar.gz
bin-f129bf7a7bad968939838d8efbd7cd878cf58257.tar.xz
standardized file headers and added COPYING
Diffstat (limited to 'gpg-agent.sh')
-rwxr-xr-xgpg-agent.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/gpg-agent.sh b/gpg-agent.sh
index e82f5c0..56794e9 100755
--- a/gpg-agent.sh
+++ b/gpg-agent.sh
@@ -1,4 +1,18 @@
#!/bin/sh
+#----------------------------------------------------
+# File: gpg-agent.sh
+# Version: 0.1.0
+# Author: Florian "Bluewind" Pritz <f-p@gmx.at>
+#
+# Copyright (C) 2008-2009 Florian Pritz
+#
+# Licensed under GNU General Public License v3
+# (see COPYING for full license text)
+#
+#----------------------------------------------------
+# make working with the agent easier and prevent
+# starting multiple agents
+#----------------------------------------------------
initgpg(){
envfile="${HOME}/.gpginfo"
if test -f ${envfile} && kill -0 $(cut -d: -f 2 ${envfile} | head -n 1) 2>/dev/null; then