Reinis/bumblebee-gentoo — pull request #1 by Reinis (2012-04-12 18:00:56+00:00)
Title: Update config and init script to wait for X startup

In some cases vgl service was started when xdm still was in process of starting, then XAUTHORITY wasn't set. This adds a check against empty XAUTHORITY and resets it after a while if it wasn't set.