Add arguments to add and autostart.

This commit is contained in:
John Internet 2020-01-03 15:41:34 +00:00
parent 7e8e10f130
commit d9fbddef5e
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
source agent-start
source agent-start "${1:-default}"
cat - | tr -d '\r' | ssh-add - >/dev/null

View File

@ -1,4 +1,4 @@
#!/bin/sh
source agent-start
source agent-start "${1:-default}"
echo "$SSH_PRIVATE_KEY" | agent-add