summaryrefslogtreecommitdiffstats
path: root/sftp-mount.sh
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-01-18 16:22:36 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-01-18 16:22:36 +0100
commitb6939bf6e772108c6afd8d610d73fc080c495255 (patch)
tree3d4d8595745289e64bedd95cd50643d8f23d27b0 /sftp-mount.sh
parent786f7d9389ea88c8dafdb2a1d1cd35cc98cc679e (diff)
downloadbin-b6939bf6e772108c6afd8d610d73fc080c495255.tar.gz
bin-b6939bf6e772108c6afd8d610d73fc080c495255.tar.xz
misc
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'sftp-mount.sh')
-rwxr-xr-xsftp-mount.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sftp-mount.sh b/sftp-mount.sh
index 9418146..75e8928 100755
--- a/sftp-mount.sh
+++ b/sftp-mount.sh
@@ -7,7 +7,7 @@ for i in "$@"; do
if ! mountpoint -q $mnt; then
mkdir -p $mnt
- sshfs web-$i@karif: $mnt
+ sshfs -o reconnect,kernel_cache web-$i@karif: $mnt
else
fusermount -u $mnt
rmdir $mnt