diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-06-13 15:13:33 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-06-13 15:13:33 +0000 |
commit | 4ada29df67d37041687a645c99bf7056203b5d80 (patch) | |
tree | 75b945db0b3c615e0fcb3abc421e8eca4e9c764f | |
parent | b8e7ab1531ebe94ea1e7378323f934b1155e4ba7 (diff) |
rapid-tunneling: include name in RA tarball
Include the name, as the file 'basename' in the remote-access tarball.
This allows identifying it even if it was renamed.
git-svn-id: svn+ssh://xorcom/home/svn/debs/components/rapid-tunneling@9415 283159da-0705-0410-b60c-f2062b4bb6ad
-rwxr-xr-x | rtadm | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -36,6 +36,7 @@ create() echo $PORT > ~/tmp/port echo $USERNAME > ~/tmp/user echo $TUNNEL_PORT > ~/tmp/tunnelport + echo $COMMENT > ~/tmp/basename tar -czf remote-access-$COMMENT.tar.gz -C ~/tmp host key port tunnelport user --owner root --group root mkdir -m 700 -p ~/.ssh umask 022 |