Cleanup some more

This commit is contained in:
David Holland 2022-05-31 22:03:48 +02:00
parent ea207177f8
commit ba19df3e5b
Signed by: DustVoice
GPG Key ID: 47068995A14EDCA9
1 changed files with 0 additions and 10 deletions

View File

@ -174,18 +174,8 @@ function hyperv-gpg-agent() {
(setsid socat UNIX-LISTEN:$socket_path,fork tcp-connect:$host_ip:59545)
}
function hyperv-gpg-agent-extra() {
socket_path="$HOME/.gnupg/S.gpg-agent.extra"
host_ip=$(ip route show 0.0.0.0/0 dev eth0 | cut -d\ -f3)
if [[ -f $socket_path ]]; then
rm $socket_path
fi
(setsid socat UNIX-LISTEN:$socket_path,fork tcp-connect:$host_ip:59544)
}
function hyperv-ssh-agent() {
socket_path="$HOME/.gnupg/S.gpg-agent.ssh"
#socket_path="$HOME/.ssh/agent.sock"
host_ip=$(ip route show 0.0.0.0/0 dev eth0 | cut -d\ -f3)
if [[ -f $socket_path ]]; then
rm $socket_path