for sshfs module make mount point directory if it doesn't exist
parent
1368a0b336
commit
02320e007e
|
@ -11,6 +11,7 @@ echo "remote $1 already mounted at $2, aborting mount"
|
|||
else
|
||||
echo "mounting via ssh"
|
||||
echo sshfs "$@" -o default_permissions
|
||||
mkdir -p $2
|
||||
sshfs "$@" -o default_permissions
|
||||
fi
|
||||
}
|
||||
|
|
Reference in New Issue