diff --git a/agent-add b/agent-add index 668c2ec..29e665a 100644 --- a/agent-add +++ b/agent-add @@ -1,4 +1,4 @@ #!/bin/sh -source agent-start +source agent-start "${1:-default}" cat - | tr -d '\r' | ssh-add - >/dev/null \ No newline at end of file diff --git a/agent-autostart b/agent-autostart index 3b983bf..0208e1f 100644 --- a/agent-autostart +++ b/agent-autostart @@ -1,4 +1,4 @@ #!/bin/sh -source agent-start +source agent-start "${1:-default}" echo "$SSH_PRIVATE_KEY" | agent-add \ No newline at end of file