Skip to content

Instantly share code, notes, and snippets.

Avatar

Nathan Klatt nklatt

View GitHub Profile
@nklatt
nklatt / mountsshfs
Last active Aug 29, 2015 — forked from pete-otaqui/mountsshfs
mountsshfs with addition of MOUNT_AS variable
View mountsshfs
#!/bin/sh
## http://ubuntuforums.org/showthread.php?t=430312
## The script will attempt to mount any fstab entry with an option
## "...,comment=$SELECTED_STRING,..."
## Use this to select specific sshfs mounts rather than all of them.
SELECTED_STRING="sshfs"
## mount as user, default = "root"
MOUNT_AS="root"
You can’t perform that action at this time.