]> code.delx.au - monosys/blobdiff - osx_bin/ssh-agent-setup
Removed unused stuff
[monosys] / osx_bin / ssh-agent-setup
diff --git a/osx_bin/ssh-agent-setup b/osx_bin/ssh-agent-setup
deleted file mode 100755 (executable)
index fb7ae32..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-source ~/.ssh_agent_env
-
-# If the agent is running then exit without doing anything
-if [ -n "${SSH_AGENT_PID}" ]; then
-       if ps -o pid=,command= -p "${SSH_AGENT_PID}" | grep -q "${SSH_AGENT_PID} ssh-agent"; then
-               exit 0
-       fi
-fi
-
-echo 'Starting SSH agent...'
-ssh-agent | grep -v 'echo Agent pid' > ~/.ssh_agent_env
-source ~/.ssh_agent_env
-ssh-add
-echo 'Agent now running!'
-