Move legacy files into legacy folder, add inventory file

This commit is contained in:
2019-05-03 14:37:51 +02:00
parent 9a55b0e432
commit 1f8193bd8c
9 changed files with 8 additions and 0 deletions

14
legacy/gnupg/gnupg_agent Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
rc=$(pgrep gpg-agent)
if [ "$rc" != 0 ]; then
export GPG_AGENT_INFO
export SSH_AUTH_SOCK
export SSH_AGENT_PID
else
eval $(gpg-agent --daemon)
fi
gpg-connect-agent /bye
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)