summaryrefslogtreecommitdiffstats
path: root/ssh-unmount.sh
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-01-15 19:00:45 +0100
committerFlorian Pritz <f-p@gmx.at>2009-01-15 19:00:45 +0100
commit1b1859915c8a6d8ab0f8d1f3b4439eaef2d2a272 (patch)
tree4dc6e85b8407d98475636fddd3ee59946fd504fb /ssh-unmount.sh
parent323816ffd1e4d78ba5ac596de5f6c36b48c31434 (diff)
downloadbin-1b1859915c8a6d8ab0f8d1f3b4439eaef2d2a272.tar.gz
bin-1b1859915c8a6d8ab0f8d1f3b4439eaef2d2a272.tar.xz
updated
Diffstat (limited to 'ssh-unmount.sh')
-rwxr-xr-xssh-unmount.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssh-unmount.sh b/ssh-unmount.sh
index 1c4344e..5083c7b 100755
--- a/ssh-unmount.sh
+++ b/ssh-unmount.sh
@@ -1,8 +1,12 @@
#!/bin/sh
fusermount -uq ${HOME}/workspace/nevera/web
+rmdir ${HOME}/workspace/nevera/web &> /dev/null
fusermount -uq ${HOME}/workspace/nevera/flo
+rmdir ${HOME}/workspace/nevera/flo &> /dev/null
fusermount -uq ${HOME}/workspace/df_ssh
+rmdir ${HOME}/workspace/df_ssh &> /dev/null
fusermount -uq ${HOME}/workspace/wf_ssh
+rmdir ${HOME}/workspace/wf_ssh &> /dev/null
echo -e "${GREEN}Unmounted.";