Revert some unneccessary stuff

This commit is contained in:
David Holland 2022-05-31 22:01:49 +02:00
parent 2a2e309e33
commit ea207177f8
Signed by: DustVoice
GPG key ID: 47068995A14EDCA9

View file

@ -184,8 +184,8 @@ function hyperv-gpg-agent-extra() {
}
function hyperv-ssh-agent() {
#socket_path="$HOME/.gnupg/S.gpg-agent.ssh"
socket_path="$HOME/.ssh/agent.sock"
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
@ -194,8 +194,7 @@ function hyperv-ssh-agent() {
}
function hyperv-agents() {
hyperv-gpg-agent
#hyperv-gpg-agent-extra
hyperv-gpg-agent &
hyperv-ssh-agent
}