Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. if [ ! -z `ls -d /tmp/afuse-* 2>/dev/null` ]; then
  4. echo 'Afuse is already running';
  5. else
  6. /usr/bin/afuse -o mount_template="sshfs %r:/ %m -o idmap=user -o reconnect" -o unmount_template="fusermount -u -z %m" $HOME/Servers/
  7. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement