diff options
author | Peter Palfrader <peter@palfrader.org> | 2013-12-11 16:36:55 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2013-12-11 16:36:55 +0000 |
commit | 0d4eb7a56bf0ac40619d942562f6d296888edb12 (patch) | |
tree | 1445c27c01d357dba5fe377df65490d20e1201f2 /zshfunc | |
parent | 83b83f3c94c296628fc80f4aa1ca244783e01be4 (diff) |
update upgrade-torproject
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@658 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'zshfunc')
-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 +) |