Automatically eject external disks on sleep and reconnect after on OS X
Getting too many -The disk was not ejected properly- errors when you improperly unplug the external disks after closing your MacBook’s lid to put it to sleep? Well, here’s how you can automatically unmount and re-mount them!