diff options
-rw-r--r-- | zshfunc/upgrade-torproject | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/zshfunc/upgrade-torproject b/zshfunc/upgrade-torproject index 631cefd..e88d720 100644 --- a/zshfunc/upgrade-torproject +++ b/zshfunc/upgrade-torproject @@ -1,5 +1,19 @@ ## vim:ft=zsh:foldmethod=marker -local i +#local i +# +#upgrade-all-Generic tpo upgrade-one-torproject $TORPROJECTHOSTS +( +ssh perdulce.torproject.org sleep 1h & +SSH_TUI_PID=$! -upgrade-all-Generic tpo upgrade-one-torproject $TORPROJECTHOSTS +set -e +local SSH_AUTH_SOCK +local SSH_AGENT_PID +eval `ssh-agent` +ssh-add .ssh/IDs/id_torprojectadm < /dev/null +#sleep 5 +EXTRAARGS="$*" upgrade-all-Generic tpo upgrade-one-torproject $TORPROJECTHOSTS +kill $SSH_AGENT_PID +kill $SSH_TUI_PID +) |