Skip to content

Instantly share code, notes, and snippets.

Created July 30, 2013 18:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/61f3bf9607994a4fc11d to your computer and use it in GitHub Desktop.
Save anonymous/61f3bf9607994a4fc11d to your computer and use it in GitHub Desktop.
# mount-brscan - Mount user brscan directory
#
# This upstart job mounts the user's brscan directory as read-only
# for FreeRDP drive redirection.
description "Mount user brscan directory"
start on mounted MOUNTPOINT=/mnt/brscan-share
task
script
exec sudo mount -o remount,ro /mnt/brscan-share
end script
## FSTAB entry
/home/test/brscan /mnt/brscan-share none bind 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment