From: Chris Koeritz Date: Sat, 16 Jun 2012 20:58:22 +0000 (-0400) Subject: new example, since script itself wasn't useful. X-Git-Tag: 2.140.90~1313 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=fca88759443e28b97a5a39b70b1bca2aa399f194;p=feisty_meow.git new example, since script itself wasn't useful. --- diff --git a/examples/legacy/gpg-daemon-launcher.sh b/examples/legacy/gpg-daemon-launcher.sh new file mode 100644 index 00000000..89054055 --- /dev/null +++ b/examples/legacy/gpg-daemon-launcher.sh @@ -0,0 +1,21 @@ +#!/bin/bash +############## +# Name : gpg-daemon-launcher +# Author : Chris Koeritz +# Rights : Copyright (C) 2012-$now by Feisty Meow Concerns, Ltd. +############## +# This script is free software; you can modify/redistribute it under the terms +# of the GNU General Public License. [ http://www.gnu.org/licenses/gpl.html ] +# Feel free to send updates to: [ fred@gruntose.com ] +############## + +# starts up the gpg-agent, but only if it's not already running. + +source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" + +if [ -z "$(psa gpg-agent)" ]; then + gpg-agent --daemon --enable-ssh-support --write-env-file "${HOME}/.gpg-agent-info" &>$TMP/zz_gpg-agent-daemon.log +fi + + +