Skip to content

Instantly share code, notes, and snippets.

Created July 30, 2013 17:43
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/c4e9b2d42065b06a30c4 to your computer and use it in GitHub Desktop.
Save anonymous/c4e9b2d42065b06a30c4 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 started mountall
task
script
exec sudo mount --bind $HOME/brscan /mnt/brscan-share
exec sudo mount -o remount,ro /mnt/brscan-share
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment