diff --git a/quiethost/servertunnel.sh b/quiethost/servertunnel.sh index 1ab2b29..4d8a426 100644 --- a/quiethost/servertunnel.sh +++ b/quiethost/servertunnel.sh @@ -1,2 +1,2 @@ #!/bin/bash -ssh -fNL 127.0.0.2:58846:localhost:58846 lucas@$(dig +short someoneslinux.ddns.net @resolver1.opendns.com) -p 3032 -i /home/lucas/.ssh/id_rsa \ No newline at end of file +ssh -o ExitOnForwardFailure=yes -fNL 127.0.0.2:58846:localhost:58846 lucas@$(dig +short someoneslinux.ddns.net @resolver1.opendns.com) -p 3032 -i /home/lucas/.ssh/id_rsa diff --git a/quiethost/torrentcopy.sh b/quiethost/torrentcopy.sh index f3894fa..9ddfcfe 100644 --- a/quiethost/torrentcopy.sh +++ b/quiethost/torrentcopy.sh @@ -9,7 +9,7 @@ usage() { -y\ty Mode -m\tmega Mode -f\tCopy to ~/data - -d\tCopy to ~/Downloads + -d\tCopy to . -l\tSelect List -yt\tYoutube Folder -help\tDisplay this\n" @@ -47,8 +47,8 @@ while [[ ${1:0:1} == - ]]; do continue }; [[ $1 == -d ]] && { - echo "Change Folder" - STUFF="/home/lucas/Downloads/" + STUFF="$(pwd)" + echo "Change Folder: $STUFF" shift 1 continue };