braincase dropbox auto setup - hamstar/Braincase GitHub Wiki
Checks the Dropbox queues to see if there are any users that need to be created. Then runs braincase-setup-dropbox as each user that needs it setup.
This is because the Dropbox installation needs to be run as the user needs it setup.
This would be improved by making a single script braincase-dropbox
and then have better arguments. For instance:
$ braincase-dropbox --help
Usage: braincase-dropbox <action> [username]
sync checks the queues to see if new users need dropbox installed
setup sets up dropbox for the given user
remove stops and removes dropbox for the given user
queue queues the given user to have dropbox setup
disable queues the given user to have dropbox remove
status prints the status for the given user