If you store your Dropbox and Google Drive folders on an encrypted drive it happens that the apps start before the volume is mounted on the system startup. Then you have to quit the app and run it again. This script aims to solve this problem.
The script is design for and tested on Mac OS X Mavericks. It should work on Linux too. For Windows solution look here.
- Create an app from this script (
dropbox_autostart.sh
) using Automator as described here. Save it in any folder under any name, e.g. asdropbox_autostart.app
file under your Home folder. - Change value of the
volume
variable in the script to your encrypted volume path.